添加用户去除空格
This commit is contained in:
@@ -259,6 +259,7 @@ export default {
|
|||||||
this.showTestDialog = false;
|
this.showTestDialog = false;
|
||||||
},
|
},
|
||||||
save(formName) {
|
save(formName) {
|
||||||
|
this.userModel.LoginCode = this.userModel.LoginCode.trim()
|
||||||
this.$refs[formName].validate(valid => {
|
this.$refs[formName].validate(valid => {
|
||||||
if (!valid) return;
|
if (!valid) return;
|
||||||
if (this.optype == 1) {
|
if (this.optype == 1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user