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
925e5d79
Commit
925e5d79
authored
May 09, 2020
by
rockyl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复新增星速台其他页面类型无效的问题
修复png转jpg发生错误的问题
parent
5886c792
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
project.js
src/store/modules/project.js
+2
-0
PublishView.vue
src/views/Editor/dialogs/PublishView.vue
+1
-1
No files found.
src/store/modules/project.js
View file @
925e5d79
...
...
@@ -482,9 +482,11 @@ export const projectStore = {
})
},
replaceAsset
(
state
,
{
uuid
,
url
})
{
const
ext
=
path
.
extname
(
url
);
for
(
let
asset
of
state
.
data
.
assets
)
{
if
(
asset
.
uuid
===
uuid
)
{
asset
.
url
=
url
;
asset
.
ext
=
ext
;
}
}
},
...
...
src/views/Editor/dialogs/PublishView.vue
View file @
925e5d79
...
...
@@ -217,7 +217,7 @@
const
params
=
{
projectId
:
pxPid
,
operate
:
operate
+
1
,
type
:(
operat
e
+
1
).
toString
(),
type
:(
tplTyp
e
+
1
).
toString
(),
id
:
skinId
,
html
:
tpl
,
name
,
...
...
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