Commit 2379436d by xinla

--no commit message

1 parent cf037571
......@@ -169,7 +169,7 @@ export default {
this.$router.push({ path: path, query: { id } })
},
removeFn(id) {
this.$confirm('是否确认删除当前质检规则??', '提示', {
this.$confirm('是否确认删除当前质检规则?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
......
......@@ -53,7 +53,7 @@
</el-form>
</div>
<div class="g-footer-sticky bottom" v-if="roles[activeIndex]">
<el-button plain type="danger">删除</el-button>
<!-- <el-button plain type="danger">删除</el-button> -->
<el-button type="primary" @click="edtiFn">编辑</el-button>
</div>
</div>
......
......@@ -71,6 +71,8 @@ export default {
// const operIds = id || this.ids + ''
this.$confirm('是否确认删除?该操作不可撤销,请谨慎操作。', {
title: '警告',
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
})
.then(function () {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!