|
|
@@ -186,7 +186,6 @@ const saveBaseInfo = async () => {
|
|
|
const res = await useClientRequest.post('/plt-api/app/base/temp', form.value);
|
|
|
uni.hideLoading();
|
|
|
if (!res || res !== 200) return;
|
|
|
- uni.hideLoading();
|
|
|
uni.showToast({
|
|
|
title: '保存成功',
|
|
|
icon: 'success',
|
|
|
@@ -220,6 +219,8 @@ const submitForm = async () => {
|
|
|
try {
|
|
|
const res = await useClientRequest.post('/plt-api/app/base/add', form.value);
|
|
|
uni.hideLoading();
|
|
|
+ if (!res || res !== 200) return;
|
|
|
+ uni.hideLoading();
|
|
|
uni.showToast({
|
|
|
title: '提交成功',
|
|
|
icon: 'success',
|