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
9f664bd3
Commit
9f664bd3
authored
Jan 15, 2020
by
rockyl
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/huhu' of
http://gitlab2.dui88.com/laoqifeng/zeroing-editor
into dev
parents
7135df63
a43c1aac
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
ProjectxOptions.vue
src/views/Editor/dialogs/ProjectxOptions.vue
+3
-4
No files found.
src/views/Editor/dialogs/ProjectxOptions.vue
View file @
9f664bd3
...
@@ -108,11 +108,11 @@ export default {
...
@@ -108,11 +108,11 @@ export default {
this
.
projectId
=
projectxConfig
[
env
];
this
.
projectId
=
projectxConfig
[
env
];
return
this
.
projectId
;
return
this
.
projectId
;
},
},
changeCurrentEnv
(
e
)
{
async
changeCurrentEnv
(
e
)
{
if
(
e
===
"test"
)
{
if
(
e
===
"test"
)
{
this
.
getTicket
(
getTestEnvTicket
);
await
this
.
getTicket
(
getTestEnvTicket
);
}
else
if
(
e
===
"prod"
)
{
}
else
if
(
e
===
"prod"
)
{
this
.
getTicket
(
getProdTicket
,
"prod_ticket"
);
await
this
.
getTicket
(
getProdTicket
,
"prod_ticket"
);
}
}
const
projectId
=
this
.
getProjectId
(
e
);
const
projectId
=
this
.
getProjectId
(
e
);
this
.
skinId
=
""
;
this
.
skinId
=
""
;
...
@@ -237,7 +237,6 @@ export default {
...
@@ -237,7 +237,6 @@ export default {
let
ticket
=
localStorage
.
getItem
(
name
);
let
ticket
=
localStorage
.
getItem
(
name
);
if
(
!
ticket
)
{
if
(
!
ticket
)
{
ticket
=
await
fn
();
ticket
=
await
fn
();
console
.
log
(
ticket
,
"ticketticket"
);
localStorage
.
setItem
(
name
,
ticket
);
localStorage
.
setItem
(
name
,
ticket
);
}
}
}
}
...
...
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