src/views/operate/rectification/taskList/components/viewInterface/index.vue
@@ -73,16 +73,6 @@ } } }; const validatePhone = (rule, value, callback) => { if (!value) { callback(new Error("请填写手机号码")); } else { const rep = /(^1[3|4|5|7|8|9]\d{9}$)|(^09\d{8}$)/ if (!rep.test(value)) { callback("请输入正确的手机号码"); } } }; return { myInterface: { }, @@ -106,7 +96,6 @@ } }, created() { const that = this; const {userInfo} = this; this.myInterface = JSON.parse(JSON.stringify(userInfo)); },