Files
dvcp_v2_webapp/project/xiushan/apps/AppNewsCenter/components/detail.vue
shijingjing 8e9db3ddf8 详情
2022-08-04 18:03:12 +08:00

43 lines
768 B
Vue

<template>
<ai-detail class="detail">
<template slot="title">
<ai-title title="详情" :isShowBack="true" :isShowBottomBorder="true" @onBackClick="$emit('goBack')"></ai-title>
</template>
<template slot="content">
<!-- <div v-html=""></div> -->
</template>
</ai-detail>
</template>
<script>
export default {
name: 'detail',
props: {
instance: Function,
dict: Object,
permissions: Function,
detail: Object,
},
data() {
return {
id: ''
}
},
methods: {
getDetail() {
this.id = this.$route.query.id
this.id && this.instance.post(``, null, {
params: {id: this.id}
}).then(res => {
if (res?.data) {
}
})
}
}
}
</script>
<style>
</style>