@@ -5176,6 +5176,18 @@ external_vue_default.a.mixin({
}
},
+ async checkMobile() {
+ const userInfo = await this.getUserInfo(); // 1是待审核,2审核通过,3是拒绝
+
+ if (userInfo.mobile == '') {
+ this.$message.error('根据互联网相关法规要求,请先完成手机认证');
+ this.goVerify();
+ return false;
+ }
+ return true;
+ },
async getUserInfo() {
let res = this.$store.state.userinfo;
@@ -65,8 +65,9 @@ export default {
this.type = type
this.$emit('formChange', 1,'process')
- submit() {
- this.$emit('formSubmit',1, this.type)
+ async submit() {
+ var bool=await this.checkMobile();
+ if(bool) this.$emit('formSubmit',1, this.type)
@@ -103,6 +103,16 @@ Vue.mixin({
this.goVerify();
+ const userInfo = await this.getUserInfo();
+ // 1是待审核,2审核通过,3是拒绝
if (!res) {