修改组件引入
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user