bug
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="detail">
|
||||
<div class="detail" v-if="pageShow">
|
||||
<template v-if="!list">
|
||||
<div class="card">
|
||||
<header>{{ detail.title }}</header>
|
||||
@@ -115,6 +115,7 @@
|
||||
detail: {},
|
||||
list: false,
|
||||
current: 0,
|
||||
pageShow: false,
|
||||
show: false,
|
||||
}
|
||||
},
|
||||
@@ -225,13 +226,18 @@
|
||||
}).then(res => {
|
||||
if (res && res.data) {
|
||||
this.detail = res.data
|
||||
this.pageShow = true
|
||||
this.$hideLoading()
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.$loading()
|
||||
this.injectJWeixin(['sendChatMessage']).then(() => {
|
||||
this.getDetail()
|
||||
}).catch(() => {
|
||||
this.getDetail()
|
||||
})
|
||||
},
|
||||
mounted() {
|
||||
|
||||
Reference in New Issue
Block a user