feat(other): The menu supports jumping to external links and fixing some known problems
This commit is contained in:
@@ -5,6 +5,7 @@ export default defineBuildConfig({
|
||||
declaration: true,
|
||||
entries: [
|
||||
'src/index',
|
||||
'src/helper',
|
||||
{
|
||||
builder: 'mkdist',
|
||||
input: './src/langs',
|
||||
|
@@ -35,6 +35,11 @@
|
||||
},
|
||||
"./langs/*": {
|
||||
"default": "./dist/langs/*"
|
||||
},
|
||||
"./helper": {
|
||||
"development": "./src/helper.ts",
|
||||
"types": "./src/helper.ts",
|
||||
"default": "./dist/helper.mjs"
|
||||
}
|
||||
},
|
||||
"publishConfig": {
|
||||
|
8
packages/locales/src/helper.ts
Normal file
8
packages/locales/src/helper.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* 没有任何实际作用,只用于 IDE 对I18的提示
|
||||
*/
|
||||
function $t(key: string) {
|
||||
return key;
|
||||
}
|
||||
|
||||
export { $t };
|
@@ -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
|
||||
|
@@ -148,3 +148,7 @@ authentication:
|
||||
send-code: 获取验证码
|
||||
send-text: "{0}秒后重新获取"
|
||||
third-party-login: 其他登录方式
|
||||
|
||||
page:
|
||||
about: 关于
|
||||
document: 文档
|
||||
|
Reference in New Issue
Block a user