cxmo 1 rok temu
rodzic
commit
5401c1b636
1 zmienionych plików z 1 dodań i 3 usunięć
  1. 1 3
      src/views/chartFrame_manage/frameEditor.vue

+ 1 - 3
src/views/chartFrame_manage/frameEditor.vue

@@ -181,9 +181,7 @@ export default {
         },
         },
         //返回至列表页,并选中当前页的框架(如果是编辑)
         //返回至列表页,并选中当前页的框架(如果是编辑)
         returnListPage(){
         returnListPage(){
-            if(this.frameId){
-                this.$router.push({path:'/chartframe',query:{frameId:this.frameId}})
-            }
+            this.$router.push({path:'/chartframe',query:{frameId:this.frameId||''}})
         }
         }
     },
     },
     mounted(){
     mounted(){