Commit 8cc1b7dc by LJM

bug

parent d4f268ea
Showing with 2 additions and 6 deletions
......@@ -74,10 +74,6 @@ import Vue from 'vue';
import Menu from "@/components/menu.vue";
import {Alert, Autocomplete, Button, DatePicker, Dialog, Dropdown, DropdownItem, DropdownMenu, Form, FormItem, Input, Message, MessageBox, Option, Pagination, Popover, Radio, RadioButton, RadioGroup, Select, Table, TableColumn, Tag, Tooltip} from 'element-ui'
Vue.prototype.$msgbox = MessageBox;
Vue.prototype.$alert = MessageBox.alert;
Vue.prototype.$confirm = MessageBox.confirm;
Vue.prototype.$prompt = MessageBox.prompt;
Vue.prototype.$message = Message;
Vue.use(Button).use(Form).use(Select).use(Option).use(Input).use(FormItem).use(Dialog).use(Autocomplete).use(Radio).use(RadioGroup).use(RadioButton);
......@@ -142,7 +138,7 @@ export default {
} else {
var html = `确定<span style="color: #E6A23C">禁用</span>当前子账号吗?<p style="font-size: 13px;color: #999;">PS:禁用后,该子账号无法再登录芯链系统</p>`;
}
this.$confirm(html, '提示', {
MessageBox(html, '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: type,
......@@ -167,7 +163,7 @@ export default {
*/
confirmDelete(row) {
var html = `确定<span style="color: red;">删除</span>当前子账号吗?<p style="font-size: 13px;color: #999;">PS:删除后,该子账号从系统清除,无法再登录芯链系统!</p>`;
this.$confirm(html, '提示', {
MessageBox(html, '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment