Sfoglia il codice sorgente

updata:泰山验证码发送错误显示报错信息

wks 1 anno fa
parent
commit
b398cbbcc5
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. 4 1
      src/views/Sys/TaiShanAuth.vue

+ 4 - 1
src/views/Sys/TaiShanAuth.vue

@@ -52,7 +52,10 @@ export default {
     smdcode(row) {
     smdcode(row) {
       this.agreementId = row.id;
       this.agreementId = row.id;
       this.$api.sys.taiShanCode({ agreementId: row.id }).then((res) => {
       this.$api.sys.taiShanCode({ agreementId: row.id }).then((res) => {
-          this.codedialogVisible = true;
+        if (res.code != '200') {
+          this.$message.error(res.msg);
+        }
+        this.codedialogVisible = true;
       });
       });
     },
     },
     login() {
     login() {