mirror of
https://gh-proxy.org/https://github.com/klinsmaya/sls-admin.git
synced 2026-11-08 09:17:02 +08:00
测试强制修改用户名和信息。
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
@@ -50,6 +50,13 @@ module.exports = {
|
||||
|
||||
// console.log(this[userdata].status);
|
||||
|
||||
//测试:强制修改用户名或者状态时,接口返回不允许修改的错误信息
|
||||
/*if (this[userdata].id) {
|
||||
// this[userdata].username='testupdatename';
|
||||
|
||||
// this[userdata].status=!this[userdata].status;
|
||||
}*/
|
||||
|
||||
UserApi.saveUser.call(this, this[userdata], data => {
|
||||
this.$router.push('/demo/user/list');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user