From 0effee74b176638329d6d378de44293219fd8de2 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期一, 21 十一月 2022 18:57:42 +0800
Subject: [PATCH] 消除控制台出现的警告信息

---
 src/views/system/post/index.vue |   16 +++-------------
 1 files changed, 3 insertions(+), 13 deletions(-)

diff --git a/src/views/system/post/index.vue b/src/views/system/post/index.vue
index 729bee7..aee6034 100644
--- a/src/views/system/post/index.vue
+++ b/src/views/system/post/index.vue
@@ -93,20 +93,10 @@
                <span>{{ parseTime(scope.row.createTime) }}</span>
             </template>
          </el-table-column>
-         <el-table-column label="鎿嶄綔" align="center" class-name="small-padding fixed-width">
+         <el-table-column label="鎿嶄綔" width="180" align="center" class-name="small-padding fixed-width">
             <template #default="scope">
-               <el-button
-                  type="text"
-                  icon="Edit"
-                  @click="handleUpdate(scope.row)"
-                  v-hasPermi="['system:post:edit']"
-               >淇敼</el-button>
-               <el-button
-                  type="text"
-                  icon="Delete"
-                  @click="handleDelete(scope.row)"
-                  v-hasPermi="['system:post:remove']"
-               >鍒犻櫎</el-button>
+               <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['system:post:edit']">淇敼</el-button>
+               <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['system:post:remove']">鍒犻櫎</el-button>
             </template>
          </el-table-column>
       </el-table>

--
Gitblit v1.9.3