Pārlūkot izejas kodu

修改bug

修改bug
Sean 3 mēneši atpakaļ
vecāks
revīzija
b2fcdc067b

+ 2 - 0
src/views/website/WebsiteList.vue

@@ -545,6 +545,8 @@ export default {
       this.getwebsiteColumn()
       this.getwebsiteColumn()
       //显示网系到弹出窗口
       //显示网系到弹出窗口
       this.openWindow()
       this.openWindow()
+      //修改添加和编辑窗口的文字提示
+      this.editId = 0;
       //显示提交按钮
       //显示提交按钮
       this.editBtn = false;
       this.editBtn = false;
       //清除错误状态
       //清除错误状态

+ 7 - 1
src/views/website/categoryList.vue

@@ -25,7 +25,7 @@
     </div>
     </div>
     <div class="layerBoxNoBg">
     <div class="layerBoxNoBg">
       <div>
       <div>
-        <el-button type="primary" @click="openWindow">添加导航池</el-button>
+        <el-button type="primary" @click="addCategoryList">添加导航池</el-button>
       </div>
       </div>
       <div>
       <div>
         <el-button @click="clearSearchList">重置</el-button>
         <el-button @click="clearSearchList">重置</el-button>
@@ -492,6 +492,12 @@ export default {
       //this.clearToServe();
       //this.clearToServe();
       this.windowStatus = true;
       this.windowStatus = true;
     },
     },
+    //2.1.1 添加导航池
+    addCategoryList(){
+      this.editId = 0;
+      this.editBtn = false;
+      this.openWindow();
+    },
     //2.2 关闭弹出框
     //2.2 关闭弹出框
     closeWindow(){
     closeWindow(){
       this.windowStatus = false;
       this.windowStatus = false;