From 5163f0f965c148a653682028e081bf540cf2038a Mon Sep 17 00:00:00 2001 From: xuguanjie <215790428@qq.com> Date: Tue, 11 Jun 2024 18:22:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9reload=E5=BC=95=E8=B5=B7?= =?UTF-8?q?=E7=9A=84=E5=A0=86=E6=A0=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/cw-echart-bar-view/index.vue | 2 +- .../components/cw-echart-line-view/index.vue | 2 +- .../components/cw-echart-pie-view/index.vue | 2 +- packages/cw/cw_echarts_library/manifest | 6 +++--- packages/cw/cw_echarts_library/package.json | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/cw/cw_echarts_library/components/cw-echart-bar-view/index.vue b/packages/cw/cw_echarts_library/components/cw-echart-bar-view/index.vue index de035d7e..2e6e69e2 100644 --- a/packages/cw/cw_echarts_library/components/cw-echart-bar-view/index.vue +++ b/packages/cw/cw_echarts_library/components/cw-echart-bar-view/index.vue @@ -166,7 +166,7 @@ export default { return cssObj; }, reload() { - this.sourceData = 'fakeData'; + this.sourceData = null this.$nextTick(async () => { this.sourceData = await this.handleDataSource(this.dataSource); this.loading = false; diff --git a/packages/cw/cw_echarts_library/components/cw-echart-line-view/index.vue b/packages/cw/cw_echarts_library/components/cw-echart-line-view/index.vue index 045a8450..efcffe7b 100644 --- a/packages/cw/cw_echarts_library/components/cw-echart-line-view/index.vue +++ b/packages/cw/cw_echarts_library/components/cw-echart-line-view/index.vue @@ -170,7 +170,7 @@ export default { return cssObj; }, reload() { - this.sourceData = 'fakeData'; + this.sourceData = null this.$nextTick(async () => { this.sourceData = await this.handleDataSource(this.dataSource); this.loading = false; diff --git a/packages/cw/cw_echarts_library/components/cw-echart-pie-view/index.vue b/packages/cw/cw_echarts_library/components/cw-echart-pie-view/index.vue index 69cc90c3..9a22db7a 100644 --- a/packages/cw/cw_echarts_library/components/cw-echart-pie-view/index.vue +++ b/packages/cw/cw_echarts_library/components/cw-echart-pie-view/index.vue @@ -156,7 +156,7 @@ export default { return cssObj; }, reload() { - this.sourceData = 'fakeData'; //? 接受字符串吗 + this.sourceData = null; this.$nextTick(async () => { this.sourceData = await this.handleDataSource(this.dataSource); this.loading = false; diff --git a/packages/cw/cw_echarts_library/manifest b/packages/cw/cw_echarts_library/manifest index 58f6f413..09e93a6c 100644 --- a/packages/cw/cw_echarts_library/manifest +++ b/packages/cw/cw_echarts_library/manifest @@ -1,6 +1,6 @@ Plugin-Version: 1.0.0 Library-Type: Frontend Metadata-File: usage.json -packages/extension/cw_echarts_library@1.0.10/dist-theme/demo.html: dist-theme/demo.html -packages/extension/cw_echarts_library@1.0.10/dist-theme/index.js: dist-theme/index.js -packages/extension/cw_echarts_library@1.0.10/dist-theme/index.js.map: dist-theme/index.js.map \ No newline at end of file +packages/extension/cw_echarts_library@1.0.12/dist-theme/demo.html: dist-theme/demo.html +packages/extension/cw_echarts_library@1.0.12/dist-theme/index.js: dist-theme/index.js +packages/extension/cw_echarts_library@1.0.12/dist-theme/index.js.map: dist-theme/index.js.map \ No newline at end of file diff --git a/packages/cw/cw_echarts_library/package.json b/packages/cw/cw_echarts_library/package.json index 485fa8bb..5c12e310 100644 --- a/packages/cw/cw_echarts_library/package.json +++ b/packages/cw/cw_echarts_library/package.json @@ -2,7 +2,7 @@ "name": "cw_echarts_library", "title": "echarts依赖库", "description": "", - "version": "1.0.10", + "version": "1.0.12", "main": "./index.js", "author": "", "repository": "",