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
2bfad2b0
Commit
2bfad2b0
authored
May 06, 2020
by
rockyl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复权限管理不更新的问题
parent
9355f0ca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
editor.js
src/store/modules/editor.js
+1
-1
project.js
src/store/modules/project.js
+2
-0
No files found.
src/store/modules/editor.js
View file @
2bfad2b0
...
...
@@ -17,7 +17,7 @@ export const editorStore = {
state
:
{
initialized
:
false
,
name
:
'Zeroing Editor'
,
version
:
'0.
1
.0'
,
version
:
'0.
2
.0'
,
templates
:
{
builtin
:
[
'blank'
],
custom
:
[],
...
...
src/store/modules/project.js
View file @
2bfad2b0
...
...
@@ -690,7 +690,9 @@ export const projectStore = {
let
json
=
await
db
.
get
(
storeName
,
projectID
);
//let json = localStorage.getItem('project-' + projectID);
if
(
json
)
{
const
remoteProject
=
await
projectApi
.
fetchOne
(
projectID
,
false
);
const
project
=
JSON
.
parse
(
json
.
data
);
project
.
operators
=
remoteProject
.
operators
;
commit
(
'updateProject'
,
project
);
commit
(
'setDirty'
,
true
);
}
...
...
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