Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
admin-base
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
new-sing
admin-base
Commits
4d9eafcd
Commit
4d9eafcd
authored
Sep 29, 2018
by
王
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
公众号菜单media_id save
parent
4ee498c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
index.vue
src/components/weChat/index.vue
+3
-2
No files found.
src/components/weChat/index.vue
View file @
4d9eafcd
...
...
@@ -1010,7 +1010,7 @@
let
_type
=
this
.
buttonList
[
this
.
selectedIndex
].
media_info
.
type
;
this
.
buttonList
[
this
.
selectedIndex
].
media_id
=
''
;
if
(
_type
===
'image'
)
{
this
.
buttonList
[
this
.
selectedIndex
].
media_info
.
url
=
''
;
this
.
buttonList
[
this
.
selectedIndex
].
media_info
.
content
=
''
;
}
else
if
(
_type
===
'text'
){
}
else
{
...
...
@@ -1022,12 +1022,13 @@
this
.
$forceUpdate
();
},
deleteSubMedia
(){
console
.
log
(
'deleteSubMedia'
)
let
selectedIndex
=
this
.
selectedIndex
;
let
selectedChildIndex
=
this
.
selectedChildIndex
;
let
_type
=
this
.
buttonList
[
selectedIndex
].
sub_button
[
selectedChildIndex
].
media_info
.
type
;
this
.
buttonList
[
selectedIndex
].
sub_button
[
selectedChildIndex
].
media_id
=
''
;
if
(
_type
===
'image'
)
{
this
.
buttonList
[
selectedIndex
].
sub_button
[
selectedChildIndex
].
media_info
.
url
=
''
;
this
.
buttonList
[
selectedIndex
].
sub_button
[
selectedChildIndex
].
media_info
.
content
=
''
;
}
else
if
(
_type
===
'text'
){
this
.
buttonList
[
selectedIndex
].
sub_button
[
selectedChildIndex
].
media_info
.
content
=
''
;
}
else
{
...
...
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