fix: block switch select property failed (#984)

* fix: block switch select property failed

* fix: del assignment
This commit is contained in:
chilingling 2025-01-01 19:28:05 -08:00
parent dc71923f4c
commit ff5048d453
1 changed files with 1 additions and 2 deletions

View File

@ -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: {