Commit d639009e by liang ce

eslint修改

parent e81b1753
......@@ -48,6 +48,7 @@ const config = {
return new Promise((resolve, reject) => {
ispermission().then(res => {
// 判断登陆状态
debugger
if (res === 40003) {
resolve('noPermission')
} else {
......
......@@ -123,8 +123,7 @@ export default {
},
onCancel () {}
})
} else if(!this.form.getFieldValue('roleName')) {
console.log(this.roleName,'this.roleName');
} else if (!this.form.getFieldValue('roleName')) {
this.$confirm({
content: '请先填写角色名称',
onOk () {
......@@ -132,7 +131,6 @@ export default {
},
onCancel () {}
})
} else {
if (this.type === 0) {
let data = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment