AiCard #custom #menu

This commit is contained in:
花有清香月有阴
2021-12-16 17:13:18 +08:00
parent 81c6e9ce04
commit c61082f72c
4 changed files with 187 additions and 154 deletions

View File

@@ -25,13 +25,32 @@ export default {
components: {},
props: {},
data() {
return {}
return {
data: [],
id: '',
}
},
computed: {},
watch: {},
created() {},
onLoad(o) {
this.id = o.id
this.$dict.load('realityStatus').then(() => {
// this.getDetail()
})
},
mounted() {},
methods: {},
methods: {
getDetail() {
this.$http.post(`/app/appvisitvondolence/queryDetailById?id=${this.id}`).then((res) => {
if (res?.data) {
this.data = res.data
if (this.data.images) {
this.data.images = JSON.parse(this.data.images || '[]')
}
}
})
},
},
}
</script>