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
93afec2d
Commit
93afec2d
authored
Apr 16, 2020
by
rockyl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合并版本冲突功能
parent
80b3be3e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
19 deletions
+1
-19
zh-CN.json
src/locales/zh-CN.json
+1
-0
main.js
src/main.js
+0
-2
token.js
src/token.js
+0
-17
No files found.
src/locales/zh-CN.json
View file @
93afec2d
...
@@ -156,6 +156,7 @@
...
@@ -156,6 +156,7 @@
"Failed to get project"
:
"获取项目失败"
,
"Failed to get project"
:
"获取项目失败"
,
"Failed to save project"
:
"保存项目失败"
,
"Failed to save project"
:
"保存项目失败"
,
"Save project successfully"
:
"保存项目成功"
,
"Save project successfully"
:
"保存项目成功"
,
"There are conflicts in the project"
:
"项目有冲突,请先解决冲突"
,
"Input version remark"
:
"输入版本备注"
,
"Input version remark"
:
"输入版本备注"
,
"Input view name"
:
"输入视图名"
,
"Input view name"
:
"输入视图名"
,
"Invalid view name"
:
"无效的视图名"
,
"Invalid view name"
:
"无效的视图名"
,
...
...
src/main.js
View file @
93afec2d
...
@@ -11,8 +11,6 @@ import './themes/light/index.scss'
...
@@ -11,8 +11,6 @@ import './themes/light/index.scss'
Vue
.
config
.
productionTip
=
false
;
Vue
.
config
.
productionTip
=
false
;
import
'./token'
new
Vue
({
new
Vue
({
router
,
router
,
store
,
store
,
...
...
src/token.js
deleted
100644 → 0
View file @
80b3be3e
/**
* Created by rockyl on 2019-11-16.
*/
import
cookie
from
"cookie"
;
let
user_cookie
;
user_cookie
=
cookie
.
parse
(
document
.
cookie
).
user_cookie
;
if
(
!
user_cookie
)
{
try
{
user_cookie
=
window
.
__data
.
token
;
}
catch
(
e
)
{
}
}
if
(
!
user_cookie
)
{
console
.
log
(
'Access denied'
);
}
window
[
'zeroing_token'
]
=
user_cookie
;
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