Fixiaobai
2023-11-15 ec5790cd8e6bd32a3dd599ace9b27f298789bc2d
src/views/admin/user/index.vue
@@ -293,12 +293,13 @@
      this.form.password = undefined
    },
    create(row, done, loading) {
      if (this.form.phone.indexOf('*') > 0) {
    create(row, done, loading) {
      if (this.form.phone!=null&&this.form.phone.indexOf('*') > 0) {
        this.form.phone = undefined
      }
      addObj(this.form)
        .then(() => {
          console.log(111111);
          this.getList(this.page)
          done()
          this.$notify.success('创建成功')