Browse Source

撤回上报id修改

duy 2 năm trước cách đây
mục cha
commit
35ed8f6ccb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/views/tentative/detect/test-form.vue

+ 1 - 1
src/views/tentative/detect/test-form.vue

@@ -1217,7 +1217,7 @@ const abolishOneSave = async () => {
     const info = getStoreData('prenodeDataInfo') || {}
     const {error, code} = await wbsApi.abolishOne({
         // primaryKeyId:  info?.primaryKeyId || '',
-          primaryKeyId: dataId,
+          primaryKeyId: dataId.length>0?dataId:nodeIdvalue.value,
         classify: authBtnTabKey.value
     })
     if (!error && code === 200) {