You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
433 B
21 lines
433 B
Page({
|
|
onLoad:function(options){
|
|
console.log(options);
|
|
let book = JSON.parse(options.bookstr);
|
|
console.log(book);
|
|
var that=this
|
|
that.setData({
|
|
bookid:book.bookid,
|
|
bookname:book.bookname,
|
|
bookauthor: book.bookauthor,
|
|
booksort: book.booksort,
|
|
booknum: book.booknum
|
|
|
|
|
|
})
|
|
console.log(this.data.bookid)
|
|
|
|
|
|
}
|
|
|
|
}) |