浏览代码

Merge branch 'release' into develop

peter 3 周之前
父节点
当前提交
04d9712ceb
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/pages/wecom-approval/index.vue

+ 1 - 0
src/pages/wecom-approval/index.vue

@@ -918,6 +918,7 @@ const checkForm = function (formEl: FormInstance | undefined) {
 
   formEl.validate((valid, fields) => {
     if (valid) {
+      form.value.Phone = form.value.Phone.replace(/[^0-9-+]/g, '')
       submit()
     } else {
       ElMessage.error('请检查表单必填项')