Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-content
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ce8ee09b
authored
Jan 12, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复营销素材提交bug
1 parent
61ca3fdd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/views/material/addMaterial.vue
src/views/material/addMaterial.vue
View file @
ce8ee09
...
@@ -339,7 +339,7 @@ export default {
...
@@ -339,7 +339,7 @@ export default {
// 获取全部素材组
// 获取全部素材组
getMaterialList
(
params
)
{
getMaterialList
(
params
)
{
this
.
$apis
.
material
.
getMaterialList
(
params
).
then
(
res
=>
{
this
.
$apis
.
material
.
getMaterialList
(
params
).
then
(
res
=>
{
this
.
groupCounter
=
res
this
.
groupCounter
=
res
||
[]
})
})
},
},
selectChange
(
val
)
{
selectChange
(
val
)
{
...
@@ -470,7 +470,7 @@ export default {
...
@@ -470,7 +470,7 @@ export default {
if
(
!
imgHtml
&&
!
videoHtml
)
params
.
materialType
=
5
if
(
!
imgHtml
&&
!
videoHtml
)
params
.
materialType
=
5
if
(
imgHtml
&&
imgHtml
.
length
&&
!
videoHtml
&&
!
html
.
length
)
params
.
materialType
=
6
if
(
imgHtml
&&
imgHtml
.
length
&&
!
videoHtml
&&
!
html
.
length
)
params
.
materialType
=
6
if
(
this
.
materialAddForm
.
vedioUrl
&&
!
this
.
materialAddForm
.
imageUrlList
.
length
)
params
.
materialType
=
4
if
(
this
.
materialAddForm
.
vedioUrl
&&
!
this
.
materialAddForm
.
imageUrlList
.
length
)
params
.
materialType
=
4
if
(
this
.
materialAddForm
.
imageUrlList
.
length
)
params
.
materialType
=
3
if
(
this
.
materialAddForm
.
imageUrlList
&&
this
.
materialAddForm
.
imageUrlList
.
length
)
params
.
materialType
=
3
this
.
textBoxContent
=
encodeURIComponent
(
this
.
textBoxContent
)
this
.
textBoxContent
=
encodeURIComponent
(
this
.
textBoxContent
)
params
.
materialUrl
=
this
.
textBoxContent
params
.
materialUrl
=
this
.
textBoxContent
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment