@ -1,4 +1,7 @@
// pages/billboards/index.js
import {AuthModel} from '../../models/auth.js'
let auth = new AuthModel()
Page({
/**
@ -12,7 +15,9 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
auth.fetchAuthToken(res => {
console.log(res)
})
},
onClickItem (e) {
const {index} = e.currentTarget.dataset