shaogen1995 4 лет назад
Родитель
Сommit
4c425f32ff
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/views/tab1/tab1_edit.vue

+ 2 - 2
src/views/tab1/tab1_edit.vue

@@ -190,7 +190,7 @@
     <!-- 底部按钮 -->
     <div class="button_btn">
       <div @click="$router.go(-1)">返 回</div>
-      <div class="edit" @click="outBtnOk">保 存</div>
+      <div class="edit" @click="outBtnOk(false)">保 存</div>
     </div>
     <!-- 点击 文物 的+号出现弹出层 -->
     <el-dialog
@@ -750,7 +750,7 @@ export default {
       }
       this.$nextTick(() => {
         setTimeout(() => {
-          this.topTabInd = index
+          if (index !== false) this.topTabInd = index
           this.cuontChange1 =
                 this.cuontChange2 =
                 this.cuontChange3 =