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
d34e9ee7
Commit
d34e9ee7
authored
Mar 17, 2020
by
任建锋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--
parent
bc3ffc80
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
4 deletions
+17
-4
en.json
src/locales/en.json
+1
-0
zh-CN.json
src/locales/zh-CN.json
+1
-0
Views.vue
src/views/Editor/Views.vue
+15
-4
No files found.
src/locales/en.json
View file @
d34e9ee7
...
@@ -119,6 +119,7 @@
...
@@ -119,6 +119,7 @@
"Project name cannot be empty"
:
"Project name cannot be empty"
,
"Project name cannot be empty"
:
"Project name cannot be empty"
,
"This action will permanently delete project"
:
"This action will permanently delete project[{projectName}], continue?"
,
"This action will permanently delete project"
:
"This action will permanently delete project[{projectName}], continue?"
,
"Do you copy the behavior of this node"
:
"Do you copy the behavior of this node?"
,
"Do you copy the behavior of this node"
:
"Do you copy the behavior of this node?"
,
"Confirm to delete the view"
:
"Confirm to delete the view?"
,
"Fetching projects"
:
"Fetching projects…"
,
"Fetching projects"
:
"Fetching projects…"
,
"Failed to fetch env"
:
"Failed to fetch env"
,
"Failed to fetch env"
:
"Failed to fetch env"
,
"Failed to fetch projects"
:
"Failed to fetch projects"
,
"Failed to fetch projects"
:
"Failed to fetch projects"
,
...
...
src/locales/zh-CN.json
View file @
d34e9ee7
...
@@ -143,6 +143,7 @@
...
@@ -143,6 +143,7 @@
"Project name cannot be empty"
:
"项目名不能为空"
,
"Project name cannot be empty"
:
"项目名不能为空"
,
"This action will permanently delete project"
:
"您将删除项目[{projectName}], 是否继续?"
,
"This action will permanently delete project"
:
"您将删除项目[{projectName}], 是否继续?"
,
"Do you copy the behavior of this node"
:
"是否复制行为?"
,
"Do you copy the behavior of this node"
:
"是否复制行为?"
,
"Confirm to delete the view"
:
"确认删除该视图?"
,
"Fetching projects"
:
"获取项目列表…"
,
"Fetching projects"
:
"获取项目列表…"
,
"Failed to fetch env"
:
"获取环境失败"
,
"Failed to fetch env"
:
"获取环境失败"
,
"Failed to fetch projects"
:
"获取项目列表失败"
,
"Failed to fetch projects"
:
"获取项目列表失败"
,
...
...
src/views/Editor/Views.vue
View file @
d34e9ee7
...
@@ -263,10 +263,21 @@
...
@@ -263,10 +263,21 @@
onMoreMenu
(
command
,
data
,
node
)
{
onMoreMenu
(
command
,
data
,
node
)
{
switch
(
command
)
{
switch
(
command
)
{
case
'delete'
:
case
'delete'
:
this
.
$confirm
(
this
.
$t
(
'Confirm to delete the view'
),
this
.
$t
(
'Alert'
),
{
confirmButtonText
:
this
.
$t
(
'Confirm'
),
cancelButtonText
:
this
.
$t
(
'Cancel'
),
type
:
'warning'
}).
then
(
()
=>
{
this
.
deleteNode
({
this
.
deleteNode
({
node
:
data
,
node
:
data
,
parentNode
:
node
.
parent
.
data
parentNode
:
node
.
parent
.
data
});
});
},
()
=>
{
}
)
break
;
break
;
case
'copy'
:
case
'copy'
:
...
...
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