diff --git a/dist/fix/fix.proxy.js b/dist/fix/fix.proxy.js index ad14e65ab..f332da88b 100644 --- a/dist/fix/fix.proxy.js +++ b/dist/fix/fix.proxy.js @@ -1835,9 +1835,9 @@ var job = function job() { // 这里去掉的原因是,新增属性没有生效也会触发变化监听 - // if (!runner.active) { - // return; - // } + if (!runner.effect.active) { + return; + } if (cb) { // watch(source, cb) var newValue = runner(); diff --git a/package.json b/package.json index 202d13bd9..47891a8c2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fineui", - "version": "2.0.20211228095201", + "version": "2.0.20211230111257", "description": "fineui", "main": "dist/fineui.min.js", "types": "dist/lib/index.d.ts", diff --git a/typescript/widget/editor/editor.multifile.ts b/typescript/widget/editor/editor.multifile.ts index 905d423e6..2df620377 100644 --- a/typescript/widget/editor/editor.multifile.ts +++ b/typescript/widget/editor/editor.multifile.ts @@ -16,6 +16,7 @@ export declare class MultifileEditor extends Widget { attach_id: string; attach_type: string; filename: string; + [key: string]: any; }[]; upload(): void;