feat(other): The menu supports jumping to external links and fixing some known problems

This commit is contained in:
vben
2024-05-21 21:45:48 +08:00
parent 399334ac57
commit c31d21be50
43 changed files with 505 additions and 243 deletions

View File

@@ -5,6 +5,7 @@ export default defineBuildConfig({
declaration: true,
entries: [
'src/index',
'src/helper',
{
builder: 'mkdist',
input: './src/langs',

View File

@@ -35,6 +35,11 @@
},
"./langs/*": {
"default": "./dist/langs/*"
},
"./helper": {
"development": "./src/helper.ts",
"types": "./src/helper.ts",
"default": "./dist/helper.mjs"
}
},
"publishConfig": {

View File

@@ -0,0 +1,8 @@
/**
* 没有任何实际作用,只用于 IDE 对I18的提示
*/
function $t(key: string) {
return key;
}
export { $t };

View File

@@ -149,3 +149,7 @@ authentication:
send-code: Get Security code
send-text: "Reacquire in {0}s"
third-party-login: Or continue with
page:
about: About
document: Document

View File

@@ -148,3 +148,7 @@ authentication:
send-code: 获取验证码
send-text: "{0}秒后重新获取"
third-party-login: 其他登录方式
page:
about: 关于
document: 文档