huangxw 2 週間 前
コミット
33513e6cde
2 ファイル変更2 行追加1 行削除
  1. 2 1
      src/plant/base/base-edit/models/base-info/base-info.vue
  2. 0 0
      stats.html

+ 2 - 1
src/plant/base/base-edit/models/base-info/base-info.vue

@@ -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',

ファイルの差分が大きいため隠しています
+ 0 - 0
stats.html


この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません