mirror of
https://gitee.com/y_project/RuoYi-Vue.git
synced 2026-06-19 21:19:22 +08:00
优化代码
This commit is contained in:
@@ -527,7 +527,7 @@ export default {
|
||||
},
|
||||
/** 选择角色权限范围触发 */
|
||||
dataScopeSelectChange(value) {
|
||||
if(value !== '2') {
|
||||
if (value !== '2') {
|
||||
this.$refs.dept.setCheckedKeys([])
|
||||
}
|
||||
},
|
||||
|
||||
@@ -316,7 +316,7 @@ export default {
|
||||
},
|
||||
/** 选择生成模板触发 */
|
||||
tplSelectChange(value) {
|
||||
if(value !== 'sub') {
|
||||
if (value !== 'sub') {
|
||||
this.info.subTableName = ''
|
||||
this.info.subTableFkName = ''
|
||||
}
|
||||
|
||||
@@ -262,7 +262,7 @@ export default {
|
||||
this.$modal.msgError("请选择要生成的数据")
|
||||
return
|
||||
}
|
||||
if(row.genType === "1") {
|
||||
if (row.genType === "1") {
|
||||
genCode(row.tableName).then(() => {
|
||||
this.$modal.msgSuccess("成功生成到自定义路径:" + row.genPath)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user