Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
wechatapp.shangjiadao.com
Project
Project
Details
Activity
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
wangxuelai
wechatapp.shangjiadao.com
Commits
d5f8d30e
Commit
d5f8d30e
authored
Apr 20, 2020
by
lvtz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
bdee9887
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
13 deletions
+8
-13
index.js
business/pages/themeeditor/index.js
+1
-0
index.js
components/newsjdmediaeditor/index.js
+7
-13
No files found.
business/pages/themeeditor/index.js
View file @
d5f8d30e
...
...
@@ -1172,6 +1172,7 @@ Page({
'params.content'
:
content
,
})
}
else
if
(
editType
==
2
)
{
console
.
log
(
22222
)
const
content
=
calendarparams
.
content
;
content
.
push
({
type
:
'voice'
,
...
...
components/newsjdmediaeditor/index.js
View file @
d5f8d30e
...
...
@@ -253,12 +253,13 @@ Component({
// })
let
content
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
data
.
content
));
let
uploadingIndex
=
this
.
data
.
uploadingIndex
+
1
;
content
.
push
({
this
.
triggerEvent
(
'additem'
,
{
type
:
'img'
,
value
:
access
.
path
})
});
this
.
setData
({
content
,
uploadingIndex
,
},
()
=>
{
this
.
setData
({
...
...
@@ -393,19 +394,12 @@ Component({
wx
.
showToast
({
title
:
'上传成功'
})
let
content
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
data
.
content
));
content
.
push
({
this
.
triggerEvent
(
'additem'
,
{
type
:
'video'
,
value
:
access
.
path
,
poster
:
access
.
path
,
mode
:
'm3u8'
})
this
.
setData
({
content
,
},
()
=>
{
this
.
setData
({
videoBoxLength
:
this
.
countCaculate
(
'video'
,
this
.
data
.
content
)
})
})
});
}
else
{
wx
.
hideLoading
();
wx
.
showModal
({
...
...
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