chore: update

This commit is contained in:
xiaoxian521 2024-04-24 10:48:45 +08:00
parent b3983df384
commit 8b2ca51272

View File

@ -6,9 +6,9 @@
</template>
<script lang="ts">
import { defineComponent, h } from "vue";
import { defineComponent } from "vue";
import { checkVersion } from "version-rocket";
import { ElConfigProvider, ElNotification } from "element-plus";
import { ElConfigProvider } from "element-plus";
import { ReDialog } from "@/components/ReDialog";
import en from "element-plus/es/locale/lang/en";
import zhCn from "element-plus/es/locale/lang/zh-cn";
@ -50,21 +50,21 @@ export default defineComponent({
}
);
}
},
mounted() {
ElNotification({
title: "永久解答服务",
duration: 0,
//@ts-expect-error
style: { width: "370px" },
position: "bottom-right",
dangerouslyUseHTMLString: true,
message: `
<a target='_blank' style='font-size: 16px' class='text-center text-[red] rounded hover:text-[var(--el-color-primary)]' href='https://yiming_chang.gitee.io/pure-admin-doc/pages/service/#%E6%B0%B8%E4%B9%85%E8%A7%A3%E7%AD%94%E5%BE%AE%E4%BF%A1%E7%BE%A4'>
服务已升级点击查看升级详情
</a>
`
});
}
// mounted() {
// ElNotification({
// title: "",
// duration: 0,
// //@ts-expect-error
// style: { width: "370px" },
// position: "bottom-right",
// dangerouslyUseHTMLString: true,
// message: `
// <a target='_blank' style='font-size: 16px' class='text-center text-[red] rounded hover:text-[var(--el-color-primary)]' href='https://yiming_chang.gitee.io/pure-admin-doc/pages/service/#%E6%B0%B8%E4%B9%85%E8%A7%A3%E7%AD%94%E5%BE%AE%E4%BF%A1%E7%BE%A4'>
//
// </a>
// `
// });
// }
});
</script>