AiCard #custom #menu
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user