Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
Overview
Overview
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
高淑倩
7-Eleven
Commits
061de6fa
Commit
061de6fa
authored
Sep 19, 2019
by
赵雅纹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
种草删除
parent
de89f446
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
grassCommunity.js
src/subPackage/page/pages/grassCommunity/grassCommunity.js
+8
-1
myReleaseDetail.json
...ubPackage/page/pages/myReleaseDetail/myReleaseDetail.json
+1
-1
No files found.
src/subPackage/page/pages/grassCommunity/grassCommunity.js
View file @
061de6fa
...
...
@@ -261,6 +261,13 @@ wxService.page({
})
return
;
}
if
(
this
.
data
.
params
.
sspList
&&
!
this
.
data
.
params
.
sspList
[
0
].
url
)
{
wx
.
showToast
({
title
:
'请上传至少一张图片'
,
icon
:
'none'
})
return
;
}
if
(
!
e
.
detail
.
value
.
headline
){
wx
.
showToast
({
title
:
'请添加标题'
,
...
...
@@ -274,7 +281,7 @@ wxService.page({
'params.article'
:
e
.
detail
.
value
.
article
})
this
.
data
.
params
.
sspList
.
forEach
((
item
,
index
)
=>
{
if
(
index
==
0
){
if
(
index
==
0
){
item
.
cover
=
1
;
}
});
...
...
src/subPackage/page/pages/myReleaseDetail/myReleaseDetail.json
View file @
061de6fa
{
"navigationBarTitleText"
:
"种草详情"
,
"usingComponents"
:
{
"x-dialog"
:
"/component/dialog/dialog"
,
"x-dialog"
:
"/component/dialog
Grass
/dialog"
,
"card-modal"
:
"/component/cardModal/cardModal"
,
"go-home"
:
"/component/goHome/goHome"
,
"x-html"
:
"/component/html2wxml/wxHtml"
,
...
...
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