feat: 版本升级弹窗
This commit is contained in:
@@ -62,7 +62,7 @@
|
|||||||
"@typescript-eslint/parser": "^5.46.0",
|
"@typescript-eslint/parser": "^5.46.0",
|
||||||
"@vitejs/plugin-vue": "^4.0.0",
|
"@vitejs/plugin-vue": "^4.0.0",
|
||||||
"@vue/compiler-sfc": "^3.2.45",
|
"@vue/compiler-sfc": "^3.2.45",
|
||||||
"eslint": "^8.29.0",
|
"eslint": "^8.54.0",
|
||||||
"eslint-plugin-vue": "^9.8.0",
|
"eslint-plugin-vue": "^9.8.0",
|
||||||
"prettier": "^2.8.1",
|
"prettier": "^2.8.1",
|
||||||
"sass": "^1.56.2",
|
"sass": "^1.56.2",
|
||||||
|
|||||||
@@ -1,123 +1,131 @@
|
|||||||
// 定义内容
|
// 定义内容
|
||||||
export default {
|
export default {
|
||||||
router: {
|
router: {
|
||||||
home: 'home',
|
home: 'home',
|
||||||
system: 'system',
|
system: 'system',
|
||||||
systemMenu: 'systemMenu',
|
systemMenu: 'systemMenu',
|
||||||
systemRole: 'systemRole',
|
systemRole: 'systemRole',
|
||||||
systemUser: 'systemUser',
|
systemUser: 'systemUser',
|
||||||
systemDept: 'systemDept',
|
systemDept: 'systemDept',
|
||||||
systemDic: 'systemDic',
|
systemDic: 'systemDic',
|
||||||
limits: 'limits',
|
limits: 'limits',
|
||||||
limitsFrontEnd: 'FrontEnd',
|
limitsFrontEnd: 'FrontEnd',
|
||||||
limitsFrontEndPage: 'FrontEndPage',
|
limitsFrontEndPage: 'FrontEndPage',
|
||||||
limitsFrontEndBtn: 'FrontEndBtn',
|
limitsFrontEndBtn: 'FrontEndBtn',
|
||||||
limitsBackEnd: 'BackEnd',
|
limitsBackEnd: 'BackEnd',
|
||||||
limitsBackEndEndPage: 'BackEndEndPage',
|
limitsBackEndEndPage: 'BackEndEndPage',
|
||||||
personal: 'personal',
|
personal: 'personal',
|
||||||
},
|
},
|
||||||
staticRoutes: {
|
staticRoutes: {
|
||||||
signIn: 'signIn',
|
signIn: 'signIn',
|
||||||
notFound: 'notFound',
|
notFound: 'notFound',
|
||||||
noPower: 'noPower',
|
noPower: 'noPower',
|
||||||
},
|
},
|
||||||
user: {
|
user: {
|
||||||
title0: 'Component size',
|
title0: 'Component size',
|
||||||
title1: 'Language switching',
|
title1: 'Language switching',
|
||||||
title2: 'Menu search',
|
title2: 'Menu search',
|
||||||
title3: 'Layout configuration',
|
title3: 'Layout configuration',
|
||||||
title4: 'news',
|
title4: 'news',
|
||||||
title5: 'Full screen on',
|
title5: 'Full screen on',
|
||||||
title6: 'Full screen off',
|
title6: 'Full screen off',
|
||||||
dropdownLarge: 'large',
|
dropdownLarge: 'large',
|
||||||
dropdownDefault: 'default',
|
dropdownDefault: 'default',
|
||||||
dropdownSmall: 'small',
|
dropdownSmall: 'small',
|
||||||
dropdown1: 'home page',
|
dropdown1: 'home page',
|
||||||
dropdown2: 'Personal Center',
|
dropdown2: 'Personal Center',
|
||||||
dropdown3: '404',
|
dropdown3: '404',
|
||||||
dropdown4: '401',
|
dropdown4: '401',
|
||||||
dropdown5: 'Log out',
|
dropdown5: 'Log out',
|
||||||
dropdown6: 'Code warehouse',
|
dropdown6: 'Code warehouse',
|
||||||
searchPlaceholder: 'Menu search: support Chinese, routing path',
|
searchPlaceholder: 'Menu search: support Chinese, routing path',
|
||||||
newTitle: 'notice',
|
newTitle: 'notice',
|
||||||
newBtn: 'All read',
|
newBtn: 'All read',
|
||||||
newGo: 'Go to the notification center',
|
newGo: 'Go to the notification center',
|
||||||
newDesc: 'No notice',
|
newDesc: 'No notice',
|
||||||
logOutTitle: 'Tips',
|
logOutTitle: 'Tips',
|
||||||
logOutMessage: 'This operation will log out. Do you want to continue?',
|
logOutMessage: 'This operation will log out. Do you want to continue?',
|
||||||
logOutConfirm: 'determine',
|
logOutConfirm: 'determine',
|
||||||
logOutCancel: 'cancel',
|
logOutCancel: 'cancel',
|
||||||
logOutExit: 'Exiting',
|
logOutExit: 'Exiting',
|
||||||
},
|
},
|
||||||
tagsView: {
|
tagsView: {
|
||||||
refresh: 'refresh',
|
refresh: 'refresh',
|
||||||
close: 'close',
|
close: 'close',
|
||||||
closeOther: 'closeOther',
|
closeOther: 'closeOther',
|
||||||
closeAll: 'closeAll',
|
closeAll: 'closeAll',
|
||||||
fullscreen: 'fullscreen',
|
fullscreen: 'fullscreen',
|
||||||
closeFullscreen: 'closeFullscreen',
|
closeFullscreen: 'closeFullscreen',
|
||||||
},
|
},
|
||||||
notFound: {
|
notFound: {
|
||||||
foundTitle: 'Wrong address input, please re-enter the address~',
|
foundTitle: 'Wrong address input, please re-enter the address~',
|
||||||
foundMsg: 'You can check the web address first, and then re-enter or give us feedback.',
|
foundMsg: 'You can check the web address first, and then re-enter or give us feedback.',
|
||||||
foundBtn: 'Back to home page',
|
foundBtn: 'Back to home page',
|
||||||
},
|
},
|
||||||
noAccess: {
|
noAccess: {
|
||||||
accessTitle: 'You are not authorized to operate~',
|
accessTitle: 'You are not authorized to operate~',
|
||||||
accessMsg: 'Contact information: add QQ group discussion 665452019',
|
accessMsg: 'Contact information: add QQ group discussion 665452019',
|
||||||
accessBtn: 'Reauthorization',
|
accessBtn: 'Reauthorization',
|
||||||
},
|
},
|
||||||
layout: {
|
layout: {
|
||||||
configTitle: 'Layout configuration',
|
configTitle: 'Layout configuration',
|
||||||
oneTitle: 'Global Themes',
|
oneTitle: 'Global Themes',
|
||||||
twoTopTitle: 'top bar set up',
|
twoTopTitle: 'top bar set up',
|
||||||
twoMenuTitle: 'Menu set up',
|
twoMenuTitle: 'Menu set up',
|
||||||
twoColumnsTitle: 'Columns set up',
|
twoColumnsTitle: 'Columns set up',
|
||||||
twoTopBar: 'Top bar background',
|
twoTopBar: 'Top bar background',
|
||||||
twoTopBarColor: 'Top bar default font color',
|
twoTopBarColor: 'Top bar default font color',
|
||||||
twoIsTopBarColorGradual: 'Top bar gradient',
|
twoIsTopBarColorGradual: 'Top bar gradient',
|
||||||
twoMenuBar: 'Menu background',
|
twoMenuBar: 'Menu background',
|
||||||
twoMenuBarColor: 'Menu default font color',
|
twoMenuBarColor: 'Menu default font color',
|
||||||
twoIsMenuBarColorGradual: 'Menu gradient',
|
twoIsMenuBarColorGradual: 'Menu gradient',
|
||||||
twoColumnsMenuBar: 'Column menu background',
|
twoColumnsMenuBar: 'Column menu background',
|
||||||
twoColumnsMenuBarColor: 'Default font color bar menu',
|
twoColumnsMenuBarColor: 'Default font color bar menu',
|
||||||
twoIsColumnsMenuBarColorGradual: 'Column gradient',
|
twoIsColumnsMenuBarColorGradual: 'Column gradient',
|
||||||
threeTitle: 'Interface settings',
|
threeTitle: 'Interface settings',
|
||||||
threeIsCollapse: 'Menu horizontal collapse',
|
threeIsCollapse: 'Menu horizontal collapse',
|
||||||
threeIsUniqueOpened: 'Menu accordion',
|
threeIsUniqueOpened: 'Menu accordion',
|
||||||
threeIsFixedHeader: 'Fixed header',
|
threeIsFixedHeader: 'Fixed header',
|
||||||
threeIsClassicSplitMenu: 'Classic layout split menu',
|
threeIsClassicSplitMenu: 'Classic layout split menu',
|
||||||
threeIsLockScreen: 'Open the lock screen',
|
threeIsLockScreen: 'Open the lock screen',
|
||||||
threeLockScreenTime: 'screen locking(s/s)',
|
threeLockScreenTime: 'screen locking(s/s)',
|
||||||
fourTitle: 'Interface display',
|
fourTitle: 'Interface display',
|
||||||
fourIsShowLogo: 'Sidebar logo',
|
fourIsShowLogo: 'Sidebar logo',
|
||||||
fourIsBreadcrumb: 'Open breadcrumb',
|
fourIsBreadcrumb: 'Open breadcrumb',
|
||||||
fourIsBreadcrumbIcon: 'Open breadcrumb icon',
|
fourIsBreadcrumbIcon: 'Open breadcrumb icon',
|
||||||
fourIsTagsview: 'Open tagsview',
|
fourIsTagsview: 'Open tagsview',
|
||||||
fourIsTagsviewIcon: 'Open tagsview Icon',
|
fourIsTagsviewIcon: 'Open tagsview Icon',
|
||||||
fourIsCacheTagsView: 'Enable tagsview cache',
|
fourIsCacheTagsView: 'Enable tagsview cache',
|
||||||
fourIsSortableTagsView: 'Enable tagsview drag',
|
fourIsSortableTagsView: 'Enable tagsview drag',
|
||||||
fourIsShareTagsView: 'Enable tagsview sharing',
|
fourIsShareTagsView: 'Enable tagsview sharing',
|
||||||
fourIsFooter: 'Open footer',
|
fourIsFooter: 'Open footer',
|
||||||
fourIsGrayscale: 'Grey model',
|
fourIsGrayscale: 'Grey model',
|
||||||
fourIsInvert: 'Color weak mode',
|
fourIsInvert: 'Color weak mode',
|
||||||
fourIsDark: 'Dark Mode',
|
fourIsDark: 'Dark Mode',
|
||||||
fourIsWartermark: 'Turn on watermark',
|
fourIsWartermark: 'Turn on watermark',
|
||||||
fourWartermarkText: 'Watermark copy',
|
fourWartermarkText: 'Watermark copy',
|
||||||
fiveTitle: 'Other settings',
|
fiveTitle: 'Other settings',
|
||||||
fiveTagsStyle: 'Tagsview style',
|
fiveTagsStyle: 'Tagsview style',
|
||||||
fiveAnimation: 'page animation',
|
fiveAnimation: 'page animation',
|
||||||
fiveColumnsAsideStyle: 'Column style',
|
fiveColumnsAsideStyle: 'Column style',
|
||||||
fiveColumnsAsideLayout: 'Column layout',
|
fiveColumnsAsideLayout: 'Column layout',
|
||||||
sixTitle: 'Layout switch',
|
sixTitle: 'Layout switch',
|
||||||
sixDefaults: 'One',
|
sixDefaults: 'One',
|
||||||
sixClassic: 'Two',
|
sixClassic: 'Two',
|
||||||
sixTransverse: 'Three',
|
sixTransverse: 'Three',
|
||||||
sixColumns: 'Four',
|
sixColumns: 'Four',
|
||||||
tipText: 'Click the button below to copy the layout configuration to `/src/stores/themeConfig.ts` It has been modified in.',
|
tipText: 'Click the button below to copy the layout configuration to `/src/stores/themeConfig.ts` It has been modified in.',
|
||||||
copyText: 'replication configuration',
|
copyText: 'replication configuration',
|
||||||
resetText: 'restore default',
|
resetText: 'restore default',
|
||||||
copyTextSuccess: 'Copy succeeded!',
|
copyTextSuccess: 'Copy succeeded!',
|
||||||
copyTextError: 'Copy failed!',
|
copyTextError: 'Copy failed!',
|
||||||
},
|
},
|
||||||
|
upgrade: {
|
||||||
|
title: 'New version upgrade',
|
||||||
|
msg: 'It\'s a new version. Update it now!Don\'t worry, update quickly oh!',
|
||||||
|
desc: 'Tip: The update restores the default configuration',
|
||||||
|
btnOne: 'Cruel refusal',
|
||||||
|
btnTwo: 'Update now',
|
||||||
|
btnTwoLoading: 'updating',
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,134 +1,144 @@
|
|||||||
// 定义内容
|
// 定义内容
|
||||||
export default {
|
export default {
|
||||||
router: {
|
router: {
|
||||||
home: '首页',
|
home: '首页',
|
||||||
system: '系统管理',
|
system: '系统管理',
|
||||||
config: '常规配置',
|
config: '常规配置',
|
||||||
log: '日志管理',
|
log: '日志管理',
|
||||||
/* 常规配置 */
|
/* 常规配置 */
|
||||||
configSystem: '系统配置',
|
configSystem: '系统配置',
|
||||||
configDict: '字典管理',
|
configDict: '字典管理',
|
||||||
configArea: '地区管理',
|
configArea: '地区管理',
|
||||||
configFile: '附件管理',
|
configFile: '附件管理',
|
||||||
/* 系统管理 */
|
/* 系统管理 */
|
||||||
systemMenu: '菜单管理',
|
systemMenu: '菜单管理',
|
||||||
systemRole: '角色管理',
|
systemRole: '角色管理',
|
||||||
systemUser: '用户管理',
|
systemUser: '用户管理',
|
||||||
systemDept: '部门管理',
|
systemDept: '部门管理',
|
||||||
/* 日志管理 */
|
/* 日志管理 */
|
||||||
loginLog: '登录日志',
|
loginLog: '登录日志',
|
||||||
operationLog: '操作日志',
|
operationLog: '操作日志',
|
||||||
systemApiWhiteList: '接口白名单',
|
systemApiWhiteList: '接口白名单',
|
||||||
limits: '权限管理',
|
limits: '权限管理',
|
||||||
limitsFrontEnd: '前端控制',
|
limitsFrontEnd: '前端控制',
|
||||||
limitsFrontEndPage: '页面权限',
|
limitsFrontEndPage: '页面权限',
|
||||||
limitsFrontEndBtn: '按钮权限',
|
limitsFrontEndBtn: '按钮权限',
|
||||||
limitsBackEnd: '后端控制',
|
limitsBackEnd: '后端控制',
|
||||||
limitsBackEndEndPage: '页面权限',
|
limitsBackEndEndPage: '页面权限',
|
||||||
personal: '个人中心',
|
personal: '个人中心',
|
||||||
},
|
},
|
||||||
staticRoutes: {
|
staticRoutes: {
|
||||||
signIn: '登录',
|
signIn: '登录',
|
||||||
notFound: '找不到此页面',
|
notFound: '找不到此页面',
|
||||||
noPower: '没有权限',
|
noPower: '没有权限',
|
||||||
},
|
},
|
||||||
user: {
|
user: {
|
||||||
title0: '组件大小',
|
title0: '组件大小',
|
||||||
title1: '语言切换',
|
title1: '语言切换',
|
||||||
title2: '菜单搜索',
|
title2: '菜单搜索',
|
||||||
title3: '布局配置',
|
title3: '布局配置',
|
||||||
title4: '消息',
|
title4: '消息',
|
||||||
title5: '开全屏',
|
title5: '开全屏',
|
||||||
title6: '关全屏',
|
title6: '关全屏',
|
||||||
dropdownLarge: '大型',
|
dropdownLarge: '大型',
|
||||||
dropdownDefault: '默认',
|
dropdownDefault: '默认',
|
||||||
dropdownSmall: '小型',
|
dropdownSmall: '小型',
|
||||||
dropdown1: '首页',
|
dropdown1: '首页',
|
||||||
dropdown2: '个人中心',
|
dropdown2: '个人中心',
|
||||||
dropdown3: '404',
|
dropdown3: '404',
|
||||||
dropdown4: '401',
|
dropdown4: '401',
|
||||||
dropdown5: '退出登录',
|
dropdown5: '退出登录',
|
||||||
dropdown6: '代码仓库',
|
dropdown6: '代码仓库',
|
||||||
searchPlaceholder: '菜单搜索:支持中文、路由路径',
|
searchPlaceholder: '菜单搜索:支持中文、路由路径',
|
||||||
newTitle: '通知',
|
newTitle: '通知',
|
||||||
newBtn: '全部已读',
|
newBtn: '全部已读',
|
||||||
newGo: '前往通知中心',
|
newGo: '前往通知中心',
|
||||||
newDesc: '暂无通知',
|
newDesc: '暂无通知',
|
||||||
logOutTitle: '提示',
|
logOutTitle: '提示',
|
||||||
logOutMessage: '此操作将退出登录, 是否继续?',
|
logOutMessage: '此操作将退出登录, 是否继续?',
|
||||||
logOutConfirm: '确定',
|
logOutConfirm: '确定',
|
||||||
logOutCancel: '取消',
|
logOutCancel: '取消',
|
||||||
logOutExit: '退出中',
|
logOutExit: '退出中',
|
||||||
},
|
},
|
||||||
tagsView: {
|
tagsView: {
|
||||||
refresh: '刷新',
|
refresh: '刷新',
|
||||||
close: '关闭',
|
close: '关闭',
|
||||||
closeOther: '关闭其它',
|
closeOther: '关闭其它',
|
||||||
closeAll: '全部关闭',
|
closeAll: '全部关闭',
|
||||||
fullscreen: '当前页全屏',
|
fullscreen: '当前页全屏',
|
||||||
closeFullscreen: '关闭全屏',
|
closeFullscreen: '关闭全屏',
|
||||||
},
|
},
|
||||||
notFound: {
|
notFound: {
|
||||||
foundTitle: '地址输入错误,请重新输入地址~',
|
foundTitle: '地址输入错误,请重新输入地址~',
|
||||||
foundMsg: '您可以先检查网址,然后重新输入或给我们反馈问题。',
|
foundMsg: '您可以先检查网址,然后重新输入或给我们反馈问题。',
|
||||||
foundBtn: '返回首页',
|
foundBtn: '返回首页',
|
||||||
},
|
},
|
||||||
noAccess: {
|
noAccess: {
|
||||||
accessTitle: '您未被授权,没有操作权限~',
|
accessTitle: '您未被授权,没有操作权限~',
|
||||||
accessMsg: '联系方式:加QQ群探讨 665452019',
|
accessMsg: '联系方式:加QQ群探讨 665452019',
|
||||||
accessBtn: '重新授权',
|
accessBtn: '重新授权',
|
||||||
},
|
},
|
||||||
layout: {
|
layout: {
|
||||||
configTitle: '布局配置',
|
configTitle: '布局配置',
|
||||||
oneTitle: '全局主题',
|
oneTitle: '全局主题',
|
||||||
twoTopTitle: '顶栏设置',
|
twoTopTitle: '顶栏设置',
|
||||||
twoMenuTitle: '菜单设置',
|
twoMenuTitle: '菜单设置',
|
||||||
twoColumnsTitle: '分栏设置',
|
twoColumnsTitle: '分栏设置',
|
||||||
twoTopBar: '顶栏背景',
|
twoTopBar: '顶栏背景',
|
||||||
twoTopBarColor: '顶栏默认字体颜色',
|
twoTopBarColor: '顶栏默认字体颜色',
|
||||||
twoIsTopBarColorGradual: '顶栏背景渐变',
|
twoIsTopBarColorGradual: '顶栏背景渐变',
|
||||||
twoMenuBar: '菜单背景',
|
twoMenuBar: '菜单背景',
|
||||||
twoMenuBarColor: '菜单默认字体颜色',
|
twoMenuBarColor: '菜单默认字体颜色',
|
||||||
twoIsMenuBarColorGradual: '菜单背景渐变',
|
twoMenuBarActiveColor: '菜单高亮背景色',
|
||||||
twoColumnsMenuBar: '分栏菜单背景',
|
twoIsMenuBarColorGradual: '菜单背景渐变',
|
||||||
twoColumnsMenuBarColor: '分栏菜单默认字体颜色',
|
twoColumnsMenuBar: '分栏菜单背景',
|
||||||
twoIsColumnsMenuBarColorGradual: '分栏菜单背景渐变',
|
twoColumnsMenuBarColor: '分栏菜单默认字体颜色',
|
||||||
threeTitle: '界面设置',
|
twoIsColumnsMenuBarColorGradual: '分栏菜单背景渐变',
|
||||||
threeIsCollapse: '菜单水平折叠',
|
twoIsColumnsMenuHoverPreload: '分栏菜单滑鼠悬停预加载',
|
||||||
threeIsUniqueOpened: '菜单手风琴',
|
threeTitle: '界面设置',
|
||||||
threeIsFixedHeader: '固定 Header',
|
threeIsCollapse: '菜单水平折叠',
|
||||||
threeIsClassicSplitMenu: '经典布局分割菜单',
|
threeIsUniqueOpened: '菜单手风琴',
|
||||||
threeIsLockScreen: '开启锁屏',
|
threeIsFixedHeader: '固定 Header',
|
||||||
threeLockScreenTime: '自动锁屏(s/秒)',
|
threeIsClassicSplitMenu: '经典布局分割菜单',
|
||||||
fourTitle: '界面显示',
|
threeIsLockScreen: '开启锁屏',
|
||||||
fourIsShowLogo: '侧边栏 Logo',
|
threeLockScreenTime: '自动锁屏(s/秒)',
|
||||||
fourIsBreadcrumb: '开启 Breadcrumb',
|
fourTitle: '界面显示',
|
||||||
fourIsBreadcrumbIcon: '开启 Breadcrumb 图标',
|
fourIsShowLogo: '侧边栏 Logo',
|
||||||
fourIsTagsview: '开启 Tagsview',
|
fourIsBreadcrumb: '开启 Breadcrumb',
|
||||||
fourIsTagsviewIcon: '开启 Tagsview 图标',
|
fourIsBreadcrumbIcon: '开启 Breadcrumb 图标',
|
||||||
fourIsCacheTagsView: '开启 TagsView 缓存',
|
fourIsTagsview: '开启 Tagsview',
|
||||||
fourIsSortableTagsView: '开启 TagsView 拖拽',
|
fourIsTagsviewIcon: '开启 Tagsview 图标',
|
||||||
fourIsShareTagsView: '开启 TagsView 共用',
|
fourIsCacheTagsView: '开启 TagsView 缓存',
|
||||||
fourIsFooter: '开启 Footer',
|
fourIsSortableTagsView: '开启 TagsView 拖拽',
|
||||||
fourIsGrayscale: '灰色模式',
|
fourIsShareTagsView: '开启 TagsView 共用',
|
||||||
fourIsInvert: '色弱模式',
|
fourIsFooter: '开启 Footer',
|
||||||
fourIsDark: '深色模式',
|
fourIsGrayscale: '灰色模式',
|
||||||
fourIsWartermark: '开启水印',
|
fourIsInvert: '色弱模式',
|
||||||
fourWartermarkText: '水印文案',
|
fourIsDark: '深色模式',
|
||||||
fiveTitle: '其它设置',
|
fourIsWartermark: '开启水印',
|
||||||
fiveTagsStyle: 'Tagsview 风格',
|
fourWartermarkText: '水印文案',
|
||||||
fiveAnimation: '主页面切换动画',
|
fiveTitle: '其它设置',
|
||||||
fiveColumnsAsideStyle: '分栏高亮风格',
|
fiveTagsStyle: 'Tagsview 风格',
|
||||||
fiveColumnsAsideLayout: '分栏布局风格',
|
fiveAnimation: '主页面切换动画',
|
||||||
sixTitle: '布局切换',
|
fiveColumnsAsideStyle: '分栏高亮风格',
|
||||||
sixDefaults: '默认',
|
fiveColumnsAsideLayout: '分栏布局风格',
|
||||||
sixClassic: '经典',
|
sixTitle: '布局切换',
|
||||||
sixTransverse: '横向',
|
sixDefaults: '默认',
|
||||||
sixColumns: '分栏',
|
sixClassic: '经典',
|
||||||
tipText: '点击下方按钮,复制布局配置去 `src/stores/themeConfig.ts` 中修改。',
|
sixTransverse: '横向',
|
||||||
copyText: '一键复制配置',
|
sixColumns: '分栏',
|
||||||
resetText: '一键恢复默认',
|
tipText: '点击下方按钮,复制布局配置去 `src/stores/themeConfig.ts` 中修改。',
|
||||||
copyTextSuccess: '复制成功!',
|
copyText: '一键复制配置',
|
||||||
copyTextError: '复制失败!',
|
resetText: '一键恢复默认',
|
||||||
},
|
copyTextSuccess: '复制成功!',
|
||||||
|
copyTextError: '复制失败!',
|
||||||
|
},
|
||||||
|
upgrade: {
|
||||||
|
title: '新版本升级',
|
||||||
|
msg: '新版本来啦,马上更新尝鲜吧!不用担心,更新很快的哦!',
|
||||||
|
desc: '提示:更新会还原默认配寘',
|
||||||
|
btnOne: '残忍拒绝',
|
||||||
|
btnTwo: '马上更新',
|
||||||
|
btnTwoLoading: '更新中',
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
// 定义内容
|
// 定义内容
|
||||||
export default {
|
export default {
|
||||||
label: {
|
label: {
|
||||||
one1: '用户名登录',
|
one1: '账号密码登录',
|
||||||
two2: '手机号登录',
|
two2: '手机号登录',
|
||||||
},
|
},
|
||||||
link: {
|
link: {
|
||||||
|
|||||||
@@ -76,10 +76,10 @@ const delayShow = () => {
|
|||||||
};
|
};
|
||||||
// 页面加载时
|
// 页面加载时
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
// delayShow();
|
delayShow();
|
||||||
// setTimeout(() => {
|
setTimeout(() => {
|
||||||
// state.btnTxt = t('message.upgrade.btnTwo');
|
state.btnTxt = t('message.upgrade.btnTwo');
|
||||||
// }, 200);
|
}, 200);
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user