修改组件引入

This commit is contained in:
花有清香月有阴
2021-12-13 11:50:28 +08:00
parent 00f92434f7
commit 66b6f44b0d
3 changed files with 56 additions and 39 deletions

View File

@@ -42,23 +42,34 @@
</template>
<script>
import AiBack from '../../components/AiBack.vue'
export default {
name: 'detail',
components: { AiBack },
components: {
},
props: {},
data() {
return {
data: {},
backgroundNavbar: {
backgroundColor: '#3975C6',
},
}
},
computed: {},
created() {},
created() {
this.getDetail()
},
mounted() {},
methods: {},
methods: {
getDetail() {
this.$instance.post(`apppolicypromotion/queryDetailByIdWeChat?id=${this.id}`).then((res) => {
if (res?.data) {
this.data = res.data
}
})
},
},
}
</script>