Przeglądaj źródła

fix:监听Op-upState,调整状态值

Signed-off-by: tangshizhe <48740614+tangshizhe@users.noreply.github.com>
tangshizhe 1 rok temu
rodzic
commit
db942320fa
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/web/templates/pc/supsearch.html

+ 1 - 1
src/web/templates/pc/supsearch.html

@@ -3645,7 +3645,7 @@ function checkTagDisabled () {
         window.addEventListener('storage', (event) => {
           console.info(event.storageArea)
           if (event.key === 'Op-upState') {
-            sessionStorage.removeItem('Op-upState', "0")
+            sessionStorage.removeItem('Op-upState')
             _this.showPropertyDialog = false
           }
           if(!_this.showPropertyDialog){