Commit 22bde1bb71fadcc97a1cfee39fee1af7a8051d22
Merge remote-tracking branch 'origin/master'
# Conflicts: # src/App.vue # src/manifest.json
Showing
3 changed files
with
7 additions
and
4 deletions
| @@ -16,7 +16,8 @@ | @@ -16,7 +16,8 @@ | ||
| 16 | <script setup> | 16 | <script setup> |
| 17 | import {ref} from "vue"; | 17 | import {ref} from "vue"; |
| 18 | 18 | ||
| 19 | - const {sessionStorage} = chrome.extension.getBackgroundPage().backgroundState; | 19 | + const { sessionStorage } = |
| 20 | + chrome.extension.getBackgroundPage().backgroundState || {}; | ||
| 20 | const DEVELOPER_MODE = ref(sessionStorage.DEVELOPER_MODE === "1"); | 21 | const DEVELOPER_MODE = ref(sessionStorage.DEVELOPER_MODE === "1"); |
| 21 | const LINKS = [{ | 22 | const LINKS = [{ |
| 22 | title: '开发环境', | 23 | title: '开发环境', |
| @@ -6,9 +6,9 @@ | @@ -6,9 +6,9 @@ | ||
| 6 | { | 6 | { |
| 7 | "js": ["content-script.js"], | 7 | "js": ["content-script.js"], |
| 8 | "matches": [ | 8 | "matches": [ |
| 9 | - "*://test.qgutech.com/*", | ||
| 10 | "*://10.9.1.180/*", | 9 | "*://10.9.1.180/*", |
| 11 | - "*://*.qixiaocloud.com/*" | 10 | + "*://*.qixiaocloud.com/*", |
| 11 | + "*://*.qgutech.com/*" | ||
| 12 | ] | 12 | ] |
| 13 | } | 13 | } |
| 14 | ], | 14 | ], |