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.
zx/jieyuejilu/jieyuezhong/jieyuezhong.js

25 lines
384 B

Page({
onLoad: function (options) {
console.log(options);
let book = JSON.parse(options.bookstr);
console.log(book);
var that = this
that.setData({
sname: book[0].s_name,
sid: book[0].s_id,
bookname: book[0].book_name,
bookid: book[0].book_id,
booknum: book[0].book_num
})
},
})