Forráskód Böngészése

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

cxmo 1 éve
szülő
commit
a17f3877dd

+ 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"