feat: check version
This commit is contained in:
@@ -35,16 +35,15 @@ export function useVersionCheckQuery() {
|
|||||||
title: '发现新版本',
|
title: '发现新版本',
|
||||||
content: '请刷新网页更新',
|
content: '请刷新网页更新',
|
||||||
positiveText: '刷新页面',
|
positiveText: '刷新页面',
|
||||||
|
maskClosable: false,
|
||||||
onPositiveClick: () => {
|
onPositiveClick: () => {
|
||||||
window.location.reload();
|
window.location.reload();
|
||||||
},
|
},
|
||||||
negativeText: '稍后检查',
|
negativeText: '稍后检查',
|
||||||
onNegativeClick: () => {
|
onNegativeClick: () => {
|
||||||
// window.$dialog.destroyAll();
|
|
||||||
dialogShow.value = false;
|
dialogShow.value = false;
|
||||||
},
|
},
|
||||||
onClose: () => {
|
onClose: () => {
|
||||||
// window.$dialog.destroyAll();
|
|
||||||
dialogShow.value = false;
|
dialogShow.value = false;
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user