mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-26 00:26:20 +08:00
chore: update upgrade prompt
This commit is contained in:
@@ -2,13 +2,14 @@
|
|||||||
import { h } from 'vue';
|
import { h } from 'vue';
|
||||||
import { Modal } from 'ant-design-vue';
|
import { Modal } from 'ant-design-vue';
|
||||||
|
|
||||||
Modal.info({
|
Modal.confirm({
|
||||||
title: '新版本发布',
|
title: '新版本发布',
|
||||||
content: h('div', {}, [h('p', 'Vben Admin v5.0.0 预览版本已发布')]),
|
content: h('div', {}, [h('p', 'Vben Admin v5.0.0 预览版本已发布')]),
|
||||||
onOk() {
|
onOk() {
|
||||||
handleClick();
|
handleClick();
|
||||||
},
|
},
|
||||||
okText: '前往体验新版',
|
okText: '前往体验新版',
|
||||||
|
cancelText: '关闭',
|
||||||
});
|
});
|
||||||
|
|
||||||
function handleClick() {
|
function handleClick() {
|
||||||
|
Reference in New Issue
Block a user