This commit is contained in:
xiaojunnuo
2024-10-01 23:52:44 +08:00
parent f8f3e8b43f
commit b09acfb4dc
9 changed files with 47 additions and 26 deletions
@@ -42,6 +42,7 @@ async function getDeviceId() {
modal.confirm({
title: "请输入OTP验证码",
maskClosable: true,
content: () => {
return (
<a-form-item-rest>
@@ -135,6 +135,7 @@ function openUpgrade() {
async onOk() {
return await doActive();
},
maskClosable: true,
okText: "激活",
width: 500,
content: () => {
@@ -130,7 +130,7 @@ export const useUserStore = defineStore({
*/
confirmLoginOut() {
const { t } = useI18n();
Modal.config({
Modal.confirm({
iconType: "warning",
title: t("app.login.logoutTip"),
content: t("app.login.logoutMessage"),
@@ -235,6 +235,7 @@ export default function ({ crudExpose, context: { certdFormRef } }: CreateCrudOp
const files = await api.GetFiles(row.id);
Modal.success({
title: "文件下载",
maskClosable: true,
okText: "↑↑↑ 点击上面链接下载",
content: () => {
const children = [];