ソースを参照

撤回上报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) {