web/packages/views/modules/sys/menu.vue
@@ -9,6 +9,7 @@ </el-form> <el-table v-loading="table.dataLoading" :data="table.dataList" border row-key="id" class="myTable" :cell-style="cellStyle" v-adaptive="{bottomOffset:50}" height="650px" :tree-props="{children: 'children', hasChildren: 'hasChildren'}"> @@ -52,6 +53,11 @@ AddOrUpdate }, methods: { cellStyle({column}) { if (column.label === '名称') { return 'text-align: left !important;' } }, isNotPlatform(row) { return true; return !this.$equalsIgnoreType(row.type, this.$dict.MenuType.PLATFORM)// 平台不允许修改删除