【fix ESLint】src/views/system/modules
This commit is contained in:
@@ -122,7 +122,7 @@ export default {
|
||||
if (valid) {
|
||||
that.confirmLoading = true
|
||||
let httpurl = ''
|
||||
let method = ''
|
||||
let method
|
||||
if (!this.model.id) {
|
||||
httpurl += this.url.add
|
||||
method = 'post'
|
||||
@@ -151,14 +151,10 @@ export default {
|
||||
this.close()
|
||||
},
|
||||
initRuleCondition () {
|
||||
if (this.model.ruleConditions && this.model.ruleConditions == 'USE_SQL_RULES') {
|
||||
this.showRuleColumn = false
|
||||
} else {
|
||||
this.showRuleColumn = true
|
||||
}
|
||||
this.showRuleColumn = !(this.model.ruleConditions && this.model.ruleConditions === 'USE_SQL_RULES')
|
||||
},
|
||||
handleChangeRuleCondition (val) {
|
||||
if (val == 'USE_SQL_RULES') {
|
||||
if (val === 'USE_SQL_RULES') {
|
||||
this.model.ruleColumn = ''
|
||||
this.showRuleColumn = false
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user