fix: block switch select property failed (#984)
* fix: block switch select property failed * fix: del assignment
This commit is contained in:
parent
dc71923f4c
commit
ff5048d453
|
@ -11,7 +11,6 @@
|
|||
*/
|
||||
|
||||
import { computed } from 'vue'
|
||||
import { extend } from '@opentiny/vue-renderless/common/object'
|
||||
import { constants } from '@opentiny/tiny-engine-utils'
|
||||
import { useBlock } from '@opentiny/tiny-engine-meta-register'
|
||||
|
||||
|
@ -26,7 +25,7 @@ const addPropertyLinks = ({ linked, propertyName, componentProperties }) => {
|
|||
const property = propertyList[j]
|
||||
|
||||
if (property.property === propertyName) {
|
||||
propertyList[j] = extend(true, {}, property, {
|
||||
Object.assign(property, {
|
||||
linked,
|
||||
widget: {
|
||||
props: {
|
||||
|
|
Loading…
Reference in New Issue