Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
evm-store
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
wanli
evm-store
Commits
2bb1074e
Commit
2bb1074e
authored
Mar 17, 2021
by
wanliofficial
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://47.105.117.50:2224/wanli/evm-store
parents
38f1466c
9e94ef6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
frontend/src/views/app-store/index.vue
frontend/src/views/app-store/index.vue
+7
-0
No files found.
frontend/src/views/app-store/index.vue
View file @
2bb1074e
...
@@ -152,6 +152,7 @@
...
@@ -152,6 +152,7 @@
<el-form-item
label=
"应用Logo"
prop=
"app_icon"
>
<el-form-item
label=
"应用Logo"
prop=
"app_icon"
>
<el-upload
<el-upload
class=
"avatar-uploader"
class=
"avatar-uploader"
ref=
"icon"
:action=
"`${window.location.protocol}//${window.location.host}/api/v1/evm_store/upload`"
:action=
"`${window.location.protocol}//${window.location.host}/api/v1/evm_store/upload`"
name=
"binfile"
name=
"binfile"
:on-remove=
"handleAvatarRemove"
:on-remove=
"handleAvatarRemove"
...
@@ -295,8 +296,11 @@ export default {
...
@@ -295,8 +296,11 @@ export default {
},
},
methods
:
{
methods
:
{
clear
()
{
clear
()
{
this
.
imageUrl
=
null
;
this
.
post
.
app_icon
=
null
;
this
.
post
.
app_files
=
[];
this
.
post
.
app_files
=
[];
this
.
$refs
.
upload
.
clearFiles
();
this
.
$refs
.
upload
.
clearFiles
();
this
.
$refs
.
icon
.
clearFiles
();
},
},
fetchData
(
params
)
{
fetchData
(
params
)
{
this
.
isLoading
=
true
;
this
.
isLoading
=
true
;
...
@@ -449,6 +453,9 @@ export default {
...
@@ -449,6 +453,9 @@ export default {
this
.
frameworkDialog
=
true
;
this
.
frameworkDialog
=
true
;
},
},
onAdd
()
{
onAdd
()
{
setTimeout
(()
=>
{
this
.
clear
();
},
100
);
this
.
dialogTitle
=
"
添加
"
;
this
.
dialogTitle
=
"
添加
"
;
this
.
dialogVisible
=
true
;
this
.
dialogVisible
=
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