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


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.