From 1908a80cd8224860bb704486fa78a18cc9a06bf7 Mon Sep 17 00:00:00 2001
From: liuchengxin <13104445455@126.com>
Date: 星期一, 24 一月 2022 17:42:19 +0800
Subject: [PATCH] 问题修改
---
src/views/system/post/index.vue | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/views/system/post/index.vue b/src/views/system/post/index.vue
index 02698da..5aaeb82 100644
--- a/src/views/system/post/index.vue
+++ b/src/views/system/post/index.vue
@@ -97,7 +97,7 @@
<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="鎿嶄綔" fixed="right" width="120" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button
size="mini"
@@ -109,6 +109,7 @@
<el-button
size="mini"
type="text"
+ class="del-btn"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['system:post:remove']"
@@ -126,7 +127,7 @@
/>
<!-- 娣诲姞鎴栦慨鏀瑰矖浣嶅璇濇 -->
- <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
+ <el-dialog :title="title" :close-on-click-modal="false" :visible.sync="open" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="宀椾綅鍚嶇О" prop="postName">
<el-input v-model="form.postName" placeholder="璇疯緭鍏ュ矖浣嶅悕绉�" />
@@ -293,7 +294,7 @@
/** 鍒犻櫎鎸夐挳鎿嶄綔 */
handleDelete(row) {
const postIds = row.postId || this.ids;
- this.$modal.confirm('鏄惁纭鍒犻櫎宀椾綅缂栧彿涓�"' + postIds + '"鐨勬暟鎹」锛�').then(function() {
+ this.$modal.confirm('鏄惁纭鍒犻櫎锛�').then(function() {
return delPost(postIds);
}).then(() => {
this.getList();
--
Gitblit v1.9.1