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
73c6ac18
Commit
73c6ac18
authored
Feb 25, 2020
by
rockyl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改保存到星速台失败的问题
parent
adc03cf2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
PackManagerDialog.vue
src/views/Editor/dialogs/PackManagerDialog.vue
+4
-4
PublishView.vue
src/views/Editor/dialogs/PublishView.vue
+2
-3
No files found.
src/views/Editor/dialogs/PackManagerDialog.vue
View file @
73c6ac18
...
...
@@ -35,9 +35,9 @@
placement=
"bottom"
width=
"400"
:title=
"$t('Publish to projectx')"
@
show=
"onPopoverPublishShow"
@
show=
"onPopoverPublishShow
(scope.row.packResult.tpl, scope.$index)
"
>
<publish-view
ref=
"popoverPublish
"
></publish-view>
<publish-view
:ref=
"'popoverPublish_' + scope.$index
"
></publish-view>
<el-button
slot=
"reference"
icon=
"el-icon-s-promotion"
...
...
@@ -116,8 +116,8 @@
this
.
visible
=
true
;
this
.
historyItems
=
await
this
.
getPackHistory
();
},
onPopoverPublishShow
(){
this
.
$refs
.
popoverPublish
.
active
(
);
onPopoverPublishShow
(
tpl
,
index
){
this
.
$refs
[
'popoverPublish_'
+
index
].
active
(
tpl
);
},
onPack
()
{
this
.
$emit
(
'pack'
);
...
...
src/views/Editor/dialogs/PublishView.vue
View file @
73c6ac18
...
...
@@ -26,7 +26,7 @@
</el-select>
<el-input
v-model=
"name"
size=
"small"
class=
"name"
placeholder=
"请输入皮肤名称"
></el-input>
</div>
<el-button
type=
"primary"
size=
"small"
@
click=
"
saveSkins
"
>
保存
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"
clickSave
"
>
保存
</el-button>
<el-button
v-if=
"skinId"
type=
"primary"
size=
"small"
@
click=
"getUrl"
>
获取链接
</el-button>
</div>
</
template
>
...
...
@@ -55,7 +55,6 @@
},
data
()
{
return
{
tpl
:
''
,
pxEnvs
:
this
.
$t
(
"pxEnvs"
),
tplOperates
:
this
.
$t
(
"tplOperates"
),
tplTypes
:
this
.
$t
(
"tplTypes"
),
...
...
@@ -135,7 +134,7 @@
const
{
skinList
}
=
this
;
return
skinList
.
some
(
v
=>
v
.
type
===
"1"
);
},
async
saveSkins
()
{
async
clickSave
()
{
const
{
env
,
skinId
,
...
...
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