hejianhao
2025-03-18 0f261ee7835b4087425920d99559bc3e71a3ce6d
H5/pages/authentication/authentication.vue
@@ -262,18 +262,16 @@
               this.form.avatar = this.imgUrls[0];
               if (this.detail) {
                  await edit(this.form);
                  this.loading = false;
                  let res = await edit(this.form);
                  console.log(res);
               } else {
                  await apply(this.form);
                  this.loading = false;
                  let res = await apply(this.form);
                  console.log(res);
               }
               this.$refs.savePop.showPopup();
               this.loading = false;
            } catch (error) {
               uni.showToast({
                  title: '提交失败,请重试',
                  icon: 'none'
               });
            } finally {
               this.loading = false;
            }