Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
so-manage-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
smart-operation
so-manage-ui
Commits
26f4c4e9
Commit
26f4c4e9
authored
Jul 11, 2023
by
李鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modigy yaml
parent
4f759593
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
533 additions
and
522 deletions
+533
-522
.beagle.yml
.beagle.yml
+2
-2
src/i18n/i18n.js
src/i18n/i18n.js
+6
-6
yarn.lock
yarn.lock
+525
-514
No files found.
.beagle.yml
View file @
26f4c4e9
...
@@ -31,8 +31,8 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
...
@@ -31,8 +31,8 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
image
:
registry.cn-qingdao.aliyuncs.com/wod/devops-node:16.16.0-slim
image
:
registry.cn-qingdao.aliyuncs.com/wod/devops-node:16.16.0-slim
# 将宿主机中文件夹挂载到容器中,宿主机文件夹中的文件会被容器访问并修改,起到使用缓存的作用,避免每次运行都要重现下载依赖,提高运行速度
# 将宿主机中文件夹挂载到容器中,宿主机文件夹中的文件会被容器访问并修改,起到使用缓存的作用,避免每次运行都要重现下载依赖,提高运行速度
commands
:
commands
:
#
- npm install -g cnpm --registry=https://registry.npm.taobao.org
-
npm install -g cnpm --registry=https://registry.npm.taobao.org
#
- cnpm install
-
cnpm install
# - yarn
# - yarn
-
export NODE_ENV=production
-
export NODE_ENV=production
-
yarn build
-
yarn build
...
...
src/i18n/i18n.js
View file @
26f4c4e9
import
{
createI18n
}
from
'
vue-i18n/index
'
import
{
createI18n
}
from
"
vue-i18n/index
"
;
import
lang
from
'
./index
'
import
lang
from
"
./index
"
;
const
i18n
=
createI18n
({
const
i18n
=
createI18n
({
locale
:
localStorage
.
lang
||
'
zh
'
,
locale
:
localStorage
.
lang
||
"
zh
"
,
messages
:
lang
messages
:
lang
,
})
})
;
export
default
i18n
export
default
i18n
;
\ No newline at end of file
yarn.lock
View file @
26f4c4e9
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment