|
|
@ -130,7 +130,7 @@ function Watch<T extends Object>(data: T) {
|
|
|
|
set(target: Object, key: string | symbol, newValue: any, receiver: any) {
|
|
|
|
set(target: Object, key: string | symbol, newValue: any, receiver: any) {
|
|
|
|
// console.log(`${did} set ${key.toString()} ${newValue}`)
|
|
|
|
// console.log(`${did} set ${key.toString()} ${newValue}`)
|
|
|
|
const result = Reflect.set(target, key, newValue, receiver);
|
|
|
|
const result = Reflect.set(target, key, newValue, receiver);
|
|
|
|
if (result) {
|
|
|
|
if (result && listen_tags.length === 0) {
|
|
|
|
let lkey = key
|
|
|
|
let lkey = key
|
|
|
|
if (isArray) {
|
|
|
|
if (isArray) {
|
|
|
|
lkey = ''
|
|
|
|
lkey = ''
|
|
|
|