Commit 75c0a942102ef7a7a5a467e5d16c7f59c8177807

Authored by 田强
1 parent 83f07fa9

refactor: 单个调试增加 reload

Showing 1 changed file with 1 additions and 1 deletions
@@ -82,7 +82,6 @@ watchEffect(() => { @@ -82,7 +82,6 @@ watchEffect(() => {
82 }); 82 });
83 }); 83 });
84 84
85 -  
86 const DEVELOPER_MODE = ref(sessionStorage.DEVELOPER_MODE === "1"); 85 const DEVELOPER_MODE = ref(sessionStorage.DEVELOPER_MODE === "1");
87 86
88 function add() { 87 function add() {
@@ -122,6 +121,7 @@ async function end() { @@ -122,6 +121,7 @@ async function end() {
122 121
123 function handleDebugging(index) { 122 function handleDebugging(index) {
124 debuggerApps.value[index].debugging = !debuggerApps.value[index].debugging; 123 debuggerApps.value[index].debugging = !debuggerApps.value[index].debugging;
  124 + chrome.runtime.sendMessage({ type: "reload" });
125 } 125 }
126 </script> 126 </script>
127 127