duy 2 سال پیش
والد
کامیت
b115aa32bf
1فایلهای تغییر یافته به همراه1 افزوده شده و 4 حذف شده
  1. 1 4
      src/views/system/menu.vue

+ 1 - 4
src/views/system/menu.vue

@@ -22,9 +22,6 @@
             </el-button>
         </template>
         <HcTable :column="tableColumn" :datas="tableData" isCheck @selection-change="tableSelectionChange">
-            <template #name="{row}">{{ row['name'] }}</template>
-            <template #text="{row}">{{ row['text'] }}</template>
-            <template #color="{row}">{{ row['color'] }}</template>
             <template #action="{row, index}">
                 <el-button size="small" type="primary" @click="eidtModal">编辑</el-button>
                 <el-button size="small" type="primary" @click="eidtModal">新增子项</el-button>
@@ -120,7 +117,7 @@ const tableColumn = [
     {key: 'text', name: '是否显示按钮'},
     {key: 'text', name: '排序'},
     {key: 'text', name: '上级菜单'},
-    {key: 'action', name: '操作', width: 160}
+    {key: 'action', name: '操作', width: 250}
 
 ]
 const tableData = ref([