浏览代码

取消时判断是新增还是编辑

cxmo 1 年之前
父节点
当前提交
a17f3877dd
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/dataEntry_manage/databaseComponents/smoothEdbDialog.vue

+ 1 - 1
src/views/dataEntry_manage/databaseComponents/smoothEdbDialog.vue

@@ -253,7 +253,7 @@
                     :loading="loading"
                     >指数修匀计算</el-button
                 >
-                <el-button type="primary" plain @click="cancelHandle('cancel')">取消</el-button>
+                <el-button type="primary" plain @click="cancelHandle(operationForm.edb_id?'':'cancel')">取消</el-button>
             </div>
             <el-popover
                 placement="top-start"