@cc-component/cc-ex-component 1.7.1 → 1.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/core/ViewModel.ts +1 -1
- package/package.json +1 -1
package/assets/core/ViewModel.ts
CHANGED
|
@@ -241,7 +241,7 @@ export function ViewModel<T extends new (...args: any[]) => Component>(Base: T)
|
|
|
241
241
|
// ✅ 跳过 $ 开头的属性:不触发响应式更新
|
|
242
242
|
if (key.startsWith(skip)) {
|
|
243
243
|
target[key] = value;
|
|
244
|
-
|
|
244
|
+
self.refreshData(key, value)
|
|
245
245
|
return true;
|
|
246
246
|
}
|
|
247
247
|
else if (value?.skip) {
|