瀏覽代碼

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

wks 1 年之前
父節點
當前提交
b398cbbcc5
共有 1 個文件被更改,包括 4 次插入 和 1 次删除
  1. 4 1
      src/views/Sys/TaiShanAuth.vue

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

@@ -52,7 +52,10 @@ export default {
     smdcode(row) {
       this.agreementId = row.id;
       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() {