主持法师
This commit is contained in:
parent
b5fd142d35
commit
29848591ab
|
|
@ -68,13 +68,14 @@ export default {
|
|||
return {
|
||||
activeTab: 0, // 当前激活的标签索引
|
||||
tabs: [],
|
||||
monkInfo: {}
|
||||
monkInfo: {},
|
||||
}
|
||||
},
|
||||
onLoad(options) {
|
||||
onLoad() {
|
||||
let id=uni.getStorageSync('abbotId')
|
||||
// 获取传递的参数
|
||||
if (options.id) {
|
||||
this.fetchMonkDetail(options.id);
|
||||
if (id) {
|
||||
this.fetchMonkDetail(id);
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
|
|||
|
|
@ -270,7 +270,9 @@ import { getArticleById } from "../../api/article/article.js";
|
|||
endTime: response.data.endTime || '',
|
||||
audioUrl: response.data.audioUrl || ''
|
||||
};
|
||||
|
||||
|
||||
uni.setStorageSync('abbotId', response.data.abbotId);
|
||||
|
||||
// 重新启动跑马灯
|
||||
this.stopMarquee();
|
||||
this.startMarquee();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user