From 161532c91de18064e8dad639c86be8231b787833 Mon Sep 17 00:00:00 2001
From: gaoshp <291585735@qq.com>
Date: 星期二, 09 四月 2024 23:03:44 +0800
Subject: [PATCH] update
---
src/views/console/system/component-classification.vue | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/views/console/system/component-classification.vue b/src/views/console/system/component-classification.vue
index 42080f8..9d12ab6 100644
--- a/src/views/console/system/component-classification.vue
+++ b/src/views/console/system/component-classification.vue
@@ -1,7 +1,7 @@
<!--
* @Date: 2024-04-09 22:18:47
* @LastEditors: Sneed
- * @LastEditTime: 2024-04-09 22:52:11
+ * @LastEditTime: 2024-04-09 22:57:11
* @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/src/views/console/system/component-classification.vue
* 鍒嗙被缁存姢
-->
@@ -12,7 +12,7 @@
<el-button type="danger">鍒犻櫎</el-button>
</el-header>
<el-main>
- <el-table ref="multipleTableRef" :data="tableData" border style="width: 100%" class="multipleTableRef" @selection-change="handleSelectionChange" row-key="id" :tree-props="{ children: 'children', hasChildren: 'hasChildren' }">
+ <el-table stripe :data="tableData" border style="width: 100%; margin-bottom: 20px" class="multipleTableRef" @selection-change="handleSelectionChange" row-key="id" :tree-props="{ children: 'children', hasChildren: 'hasChildren' }">
<el-table-column type="selection" width="55" />
<el-table-column prop="name" label="鍒嗙被鍚嶇О" />
<el-table-column prop="icon" label="鍒嗙被鍥炬爣">
@@ -46,7 +46,8 @@
export default {
data() {
return {
- tableData: []
+ tableData: [],
+ selection: []
}
},
created () {
@@ -55,7 +56,6 @@
methods: {
queryList () {
this.$API.setting.getList.get().then(res => {
- console.log(res)
this.tableData = res.data
})
},
@@ -66,7 +66,7 @@
},
handleSelectionChange () {
-
+ this.selection = selection;
}
},
}
--
Gitblit v1.9.3