浏览代码

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

Signed-off-by: tangshizhe <48740614+tangshizhe@users.noreply.github.com>
tangshizhe 1 年之前
父节点
当前提交
db942320fa
共有 1 个文件被更改,包括 1 次插入1 次删除
  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){