Toggle navigation
This project
Loading...
Sign in
xt
/
xcx-book
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Download as
Email Patches
Plain Diff
Browse Files
Commit
0d0eb897960e9f360f99a815615f58c6bc0e6842
Authored by
wangfan
2018-10-10 15:01:03 +0800
1 parent
23183a1f
build: skipped
tid 去重
Changes
1
Builds
0
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
pages/book/b_addnew.js
pages/book/b_addnew.js
View file @
0d0eb89
...
...
@@ -278,7 +278,8 @@ Page({
buttonhide
:
true
,
})
let
form
=
this
.
data
.
form
;
form
.
tid
=
form
.
tid
.
toString
();
let
tid
=
new
Set
(
form
.
tid
);
//tid 去重
form
.
tid
=
[...
tid
].
toString
();
form
.
sid
=
this
.
sellerid
;
form
.
rdate
=
rdate
if
(
!
form
.
rid
){
...
...
Please
register
or
login
to post a comment