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,16 +123,14 @@ export default {
},
onCancel () {}
})
} else if(!this.form.getFieldValue('roleName')) {
console.log(this.roleName,'this.roleName');
this.$confirm({
content: '请先填写角色名称',
onOk () {
// that.changeData(record, index)
},
onCancel () {}
})
} else if (!this.form.getFieldValue('roleName')) {
this.$confirm({
content: '请先填写角色名称',
onOk () {
// that.changeData(record, index)
},
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