<template> <div> <dee-as-com :lay-config="layConfig" :basic-data="basicData" /> </div> </template> <script> export default { name: 'GlueMixingApplyNode', components: {}, props: { componentProp: { type: Object }, basicData: { type: Object, default: () => null } }, data() { return {} }, computed: { layConfig() { return JSON.parse(JSON.parse(this.componentProp.configParams)) } }, watch: {}, // 生命周期 - 创建完成(可以访问当前this 实例) created() { }, // 生命周期 - 挂载之前 beforeMount() { }, // 生命周期 - 挂载完成(可以访问 DOM 元素) mounted() { console.log(this.layConfig) }, methods: {} } </script> <style lang='scss' scoped> </style>