Explorar o código

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

Signed-off-by: tangshizhe <48740614+tangshizhe@users.noreply.github.com>
tangshizhe hai 1 ano
pai
achega
db942320fa
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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){