|
@@ -199,7 +199,7 @@ const submitForm = async () => {
|
|
|
});
|
|
});
|
|
|
try {
|
|
try {
|
|
|
// 这里使用单条入库接口,后端若仍要求 batch,可根据需要包装成数组
|
|
// 这里使用单条入库接口,后端若仍要求 batch,可根据需要包装成数组
|
|
|
- const res = await useClientRequest.post('/plt-api/app/storageSeed/edit', form.value);
|
|
|
|
|
|
|
+ const res = await useClientRequest.post('/plt-api/app/storage/edit', form.value);
|
|
|
if (!res || res.code !== 200) return;
|
|
if (!res || res.code !== 200) return;
|
|
|
uni.hideLoading();
|
|
uni.hideLoading();
|
|
|
uni.showToast({
|
|
uni.showToast({
|
|
@@ -214,7 +214,7 @@ const submitForm = async () => {
|
|
|
});
|
|
});
|
|
|
}, 1500);
|
|
}, 1500);
|
|
|
} catch (error) {
|
|
} catch (error) {
|
|
|
- uni.hideLoading();
|
|
|
|
|
|
|
+ // uni.hideLoading();
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
500,
|
|
500,
|