Browse Source

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

Signed-off-by: tangshizhe <48740614+tangshizhe@users.noreply.github.com>
tangshizhe 1 year ago
parent
commit
db942320fa
1 changed files with 1 additions and 1 deletions
  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) => {
         window.addEventListener('storage', (event) => {
           console.info(event.storageArea)
           console.info(event.storageArea)
           if (event.key === 'Op-upState') {
           if (event.key === 'Op-upState') {
-            sessionStorage.removeItem('Op-upState', "0")
+            sessionStorage.removeItem('Op-upState')
             _this.showPropertyDialog = false
             _this.showPropertyDialog = false
           }
           }
           if(!_this.showPropertyDialog){
           if(!_this.showPropertyDialog){