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 @@
...
@@ -35,9 +35,9 @@
placement=
"bottom"
placement=
"bottom"
width=
"400"
width=
"400"
:title=
"$t('Publish to projectx')"
: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
<el-button
slot=
"reference"
slot=
"reference"
icon=
"el-icon-s-promotion"
icon=
"el-icon-s-promotion"
...
@@ -116,8 +116,8 @@
...
@@ -116,8 +116,8 @@
this
.
visible
=
true
;
this
.
visible
=
true
;
this
.
historyItems
=
await
this
.
getPackHistory
();
this
.
historyItems
=
await
this
.
getPackHistory
();
},
},
onPopoverPublishShow
(){
onPopoverPublishShow
(
tpl
,
index
){
this
.
$refs
.
popoverPublish
.
active
(
);
this
.
$refs
[
'popoverPublish_'
+
index
].
active
(
tpl
);
},
},
onPack
()
{
onPack
()
{
this
.
$emit
(
'pack'
);
this
.
$emit
(
'pack'
);
...
...
src/views/Editor/dialogs/PublishView.vue
View file @
73c6ac18
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
</el-select>
</el-select>
<el-input
v-model=
"name"
size=
"small"
class=
"name"
placeholder=
"请输入皮肤名称"
></el-input>
<el-input
v-model=
"name"
size=
"small"
class=
"name"
placeholder=
"请输入皮肤名称"
></el-input>
</div>
</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>
<el-button
v-if=
"skinId"
type=
"primary"
size=
"small"
@
click=
"getUrl"
>
获取链接
</el-button>
</div>
</div>
</
template
>
</
template
>
...
@@ -55,7 +55,6 @@
...
@@ -55,7 +55,6 @@
},
},
data
()
{
data
()
{
return
{
return
{
tpl
:
''
,
pxEnvs
:
this
.
$t
(
"pxEnvs"
),
pxEnvs
:
this
.
$t
(
"pxEnvs"
),
tplOperates
:
this
.
$t
(
"tplOperates"
),
tplOperates
:
this
.
$t
(
"tplOperates"
),
tplTypes
:
this
.
$t
(
"tplTypes"
),
tplTypes
:
this
.
$t
(
"tplTypes"
),
...
@@ -135,7 +134,7 @@
...
@@ -135,7 +134,7 @@
const
{
skinList
}
=
this
;
const
{
skinList
}
=
this
;
return
skinList
.
some
(
v
=>
v
.
type
===
"1"
);
return
skinList
.
some
(
v
=>
v
.
type
===
"1"
);
},
},
async
saveSkins
()
{
async
clickSave
()
{
const
{
const
{
env
,
env
,
skinId
,
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