Commit 57b8be69 authored by 罗林杰's avatar 罗林杰

修改知识库

parent 6139e1eb
......@@ -59,7 +59,7 @@
import addModal from '@/views/knowledgeBase/addModal.vue';
defineOptions({ name: 'KnowledgeBase' });
const { createMessage } = useMessage();
const { createMessage, createConfirm } = useMessage();
const filterStore = useFilterStore();
const route = useRoute();
const [registerModal, { openModal }] = useModal();
......@@ -138,11 +138,25 @@
}
/** 下载按钮*/
function download() {
createConfirm({
iconType: 'warning',
title: 'Tip',
content: '确认下载?',
onOk() {
createMessage.success('下载成功!');
},
});
}
/** 批量删除按钮*/
function handleDeleteIds() {
createConfirm({
iconType: 'warning',
title: 'Tip',
content: '确认批量删除?',
onOk() {
createMessage.success('批量删除成功!');
},
});
}
/** 重置密码弹窗确定按钮*/
/** 删除按钮*/
......
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 to comment