Explorar el Código

标题错误修改

lijj hace 2 años
padre
commit
be6e03139f

+ 2 - 2
admin_ui/src/views/ycwh/documentInfo.vue

@@ -214,10 +214,10 @@
       // 新增文章相关
       toEdit(row) {
         if(row && row.id) {
-          this.dialogTitle += '编辑';
+          this.dialogTitle = '编辑';
           this.currentArticle = row;
         } else {
-          this.dialogTitle += '新增'
+          this.dialogTitle = '新增'
           this.currentArticle = null
         }
         this.dialogVisible = true;

+ 2 - 2
admin_ui/src/views/ycwh/famousDish.vue

@@ -214,10 +214,10 @@
       // 新增文章相关
       toEdit(row) {
         if(row && row.id) {
-          this.dialogTitle += '编辑';
+          this.dialogTitle = '编辑';
           this.currentArticle = row;
         } else {
-          this.dialogTitle += '新增'
+          this.dialogTitle = '新增'
           this.currentArticle = null
         }
         this.dialogVisible = true;

+ 2 - 2
admin_ui/src/views/ycwh/famousSnacks.vue

@@ -214,10 +214,10 @@
       // 新增文章相关
       toEdit(row) {
         if(row && row.id) {
-          this.dialogTitle += '编辑';
+          this.dialogTitle = '编辑';
           this.currentArticle = row;
         } else {
-          this.dialogTitle += '新增'
+          this.dialogTitle = '新增'
           this.currentArticle = null
         }
         this.dialogVisible = true;

+ 2 - 2
admin_ui/src/views/ycwh/famousStore.vue

@@ -214,10 +214,10 @@
       // 新增文章相关
       toEdit(row) {
         if(row && row.id) {
-          this.dialogTitle += '编辑';
+          this.dialogTitle = '编辑';
           this.currentArticle = row;
         } else {
-          this.dialogTitle += '新增'
+          this.dialogTitle = '新增'
           this.currentArticle = null
         }
         this.dialogVisible = true;

+ 2 - 2
admin_ui/src/views/ycwh/informationInfo.vue

@@ -214,10 +214,10 @@
       // 新增文章相关
       toEdit(row) {
         if(row && row.id) {
-          this.dialogTitle += '编辑';
+          this.dialogTitle = '编辑';
           this.currentArticle = row;
         } else {
-          this.dialogTitle += '新增'
+          this.dialogTitle = '新增'
           this.currentArticle = null
         }
         this.dialogVisible = true;

+ 2 - 2
admin_ui/src/views/ycwh/professionalStyle.vue

@@ -214,10 +214,10 @@
       // 新增文章相关
       toEdit(row) {
         if(row && row.id) {
-          this.dialogTitle += '编辑';
+          this.dialogTitle = '编辑';
           this.currentArticle = row;
         } else {
-          this.dialogTitle += '新增'
+          this.dialogTitle = '新增'
           this.currentArticle = null
         }
         this.dialogVisible = true;