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.
28 lines
471 B
28 lines
471 B
const app = getApp()
|
|
const api = require('../../../../api/conflict')
|
|
Page({
|
|
data: {
|
|
detail:{}
|
|
},
|
|
onHide:function(){
|
|
|
|
},
|
|
/**
|
|
* 生命周期函数--监听页面加载
|
|
*/
|
|
onLoad: function (options) {
|
|
let id = options.id;
|
|
api.getHistoryById(id).then(res=>{
|
|
this.setData({
|
|
detail:res.data
|
|
})
|
|
})
|
|
},
|
|
// this.getRecommend();
|
|
/**
|
|
* 生命周期函数--监听页面显示
|
|
*/
|
|
onShow: function () {
|
|
|
|
},
|
|
})
|