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