Commit d639009e by liang ce

eslint修改

parent e81b1753
...@@ -48,6 +48,7 @@ const config = { ...@@ -48,6 +48,7 @@ const config = {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
ispermission().then(res => { ispermission().then(res => {
// 判断登陆状态 // 判断登陆状态
debugger
if (res === 40003) { if (res === 40003) {
resolve('noPermission') resolve('noPermission')
} else { } else {
......
...@@ -123,8 +123,7 @@ export default { ...@@ -123,8 +123,7 @@ export default {
}, },
onCancel () {} onCancel () {}
}) })
} else if(!this.form.getFieldValue('roleName')) { } else if (!this.form.getFieldValue('roleName')) {
console.log(this.roleName,'this.roleName');
this.$confirm({ this.$confirm({
content: '请先填写角色名称', content: '请先填写角色名称',
onOk () { onOk () {
...@@ -132,7 +131,6 @@ export default { ...@@ -132,7 +131,6 @@ export default {
}, },
onCancel () {} onCancel () {}
}) })
} else { } else {
if (this.type === 0) { if (this.type === 0) {
let data = { 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