Commit 8934a2df02ae31a9015d0cfd2d0a858a15c507cd

Authored by 田强
1 parent d42d8f04

fix: link key

Showing 1 changed file with 3 additions and 1 deletions
... ... @@ -6,7 +6,7 @@
6 6 <br>
7 7 <b>常用链接:</b>
8 8 <el-row>
9   - <el-link style="font-size: 12px;padding:2px 5px;" v-for="link in LINKS" target="_blank" :href="link.link">
  9 + <el-link style="font-size: 12px;padding:2px 5px;" v-for="(link, key) in LINKS" target="_blank" :href="link.link" :key="key">
10 10 {{link.title}}
11 11 </el-link>
12 12 </el-row>
... ... @@ -18,7 +18,9 @@
18 18
19 19 const { sessionStorage } =
20 20 chrome.extension.getBackgroundPage().backgroundState || {};
  21 +
21 22 const DEVELOPER_MODE = ref(sessionStorage.DEVELOPER_MODE === "1");
  23 +
22 24 const LINKS = [{
23 25 title: '开发环境',
24 26 link: 'http://10.9.1.180'
... ...