Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zeroing-editor
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
劳工
zeroing-editor
Commits
eb39753c
Commit
eb39753c
authored
Feb 29, 2020
by
rockyl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改包版本备注样式
parent
420f7c0b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
3 deletions
+10
-3
zh-CN.json
src/locales/zh-CN.json
+1
-1
editor.scss
src/themes/light/editor.scss
+4
-0
PackageManagerEditor.vue
src/views/Editor/dialogs/editors/PackageManagerEditor.vue
+5
-2
No files found.
src/locales/zh-CN.json
View file @
eb39753c
...
...
@@ -180,7 +180,7 @@
"Import view success"
:
"视图导入成功"
,
"Input projectx id"
:
"请输入{envName}星速台项目ID"
,
"Save template to projectx"
:
"是否保存皮肤到星速台"
,
"All versions"
:
"全部版本"
,
"All versions"
:
"
的
全部版本"
,
"Dependencies missing"
:
"依赖缺失"
,
"missingDependenciesNotice"
:
"<i class=
\"
el-icon-warning
\"
></i>依赖缺失,请到【<span style=
\"
font-weight: bold,
\"
>详情>包管理</span>】进行安装"
,
"Pack manager"
:
"打包管理"
,
...
...
src/themes/light/editor.scss
View file @
eb39753c
...
...
@@ -128,6 +128,10 @@
.update-time
{
float
:
right
;
}
.remark
{
font-size
:
12px
;
}
}
}
...
...
src/views/Editor/dialogs/editors/PackageManagerEditor.vue
View file @
eb39753c
...
...
@@ -25,7 +25,7 @@
</el-select>
<el-popover
placement=
"left-start"
:title=
"$t('All versions')"
:title=
"
packageInfo.package_id +
$t('All versions')"
:open-delay=
"500"
width=
"250"
style=
"margin-left: 5px;"
...
...
@@ -39,7 +39,7 @@
{{
packageInfo
.
update_times
[
index
]
}}
</span>
<br>
<span
>
{{
packageInfo
.
remarks
[
index
]
}}
</span>
<span
v-if=
"packageInfo.remarks[index]"
class=
"remark"
v-html=
"translateRemark(packageInfo.remarks[index])"
>
</span>
</div>
</el-scrollbar>
</div>
...
...
@@ -118,6 +118,9 @@
let
exists
=
packageExists
(
this
.
packageMetas
,
packageId
,
version
);
return
(
withVersion
?
version
+
' '
:
''
)
+
(
!
exists
?
'(待下载)'
:
''
);
},
translateRemark
(
str
){
return
str
.
split
(
'
\
n'
).
map
(
item
=>
'·'
+
item
).
join
(
'<br>'
)
},
...
mapMutations
([
'modifyDependencies'
,
]),
...
...
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