docs: 优化一些文案

This commit is contained in:
pany
2023-08-28 16:52:17 +08:00
parent a3dce0e0f2
commit 36f8c8acf2
2 changed files with 1 additions and 17 deletions

View File

@@ -1,7 +1,6 @@
<script lang="ts" setup>
import { h } from "vue"
import { useTheme } from "@/hooks/useTheme"
import { resetConfigLayout } from "@/utils"
import { ElNotification } from "element-plus"
// 将 Element Plus 的语言设置为中文
import zhCn from "element-plus/es/locale/lang/zh-cn"
@@ -23,21 +22,6 @@ ElNotification({
duration: 0,
position: "bottom-right"
})
ElNotification({
title: "破坏性更新",
type: "warning",
message: h(
"span",
{
style: "color: teal; cursor: pointer;",
onClick: resetConfigLayout
},
"由于平台 4.1.0 版本新增了多种布局模式,如果第一次出现白屏情况,点击这里或手动前往控制台清理 LocalStorage 缓存数据后刷新页面即可!"
),
duration: 0,
position: "bottom-right",
offset: 150
})
</script>
<template>