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) {