瀏覽代碼

撤回上报id修改

duy 2 年之前
父節點
當前提交
35ed8f6ccb
共有 1 個文件被更改,包括 1 次插入1 次删除
  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) {