【fix ESLint】src/views/system

This commit is contained in:
danshihao
2023-03-07 16:22:21 +08:00
parent 586837f1f6
commit 1eb59a3fd6
23 changed files with 159 additions and 159 deletions
@@ -43,13 +43,13 @@
</a>
<a-menu slot="overlay">
<a-menu-item>
<a href="javascript:;" @click="handleDetail(record)">详情</a>
<a href="javascript:" @click="handleDetail(record)">详情</a>
</a-menu-item>
<a-menu-item>
<a href="javascript:;" @click="handleAddSub(record)">添加下级</a>
<a href="javascript:" @click="handleAddSub(record)">添加下级</a>
</a-menu-item>
<a-menu-item>
<a href="javascript:;" @click="handleDataRule(record)">数据规则</a>
<a href="javascript:" @click="handleDataRule(record)">数据规则</a>
</a-menu-item>
<a-menu-item>
@@ -96,11 +96,11 @@ const columns = [
dataIndex: 'menuType',
key: 'menuType',
customRender: function (text) {
if (text == 0) {
if ((text + '') === '0') {
return '菜单'
} else if (text == 1) {
} else if ((text + '') === '1') {
return '菜单'
} else if (text == 2) {
} else if ((text + '') === '2') {
return '按钮/权限'
} else {
return text