Skip to content

Commit

Permalink
Merge pull request #124 from vusion/Task-WO20240611011-cw_echarts_lib…
Browse files Browse the repository at this point in the history
…rary-xuguanjie-20240611

fix:修改reload引起的堆栈问题
  • Loading branch information
xuguanjie0706 authored Jun 11, 2024
2 parents 72826d5 + 5163f0f commit 517a8b0
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
6 changes: 3 additions & 3 deletions packages/cw/cw_echarts_library/manifest
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Plugin-Version: 1.0.0
Library-Type: Frontend
Metadata-File: usage.json
packages/extension/[email protected].10/dist-theme/demo.html: dist-theme/demo.html
packages/extension/[email protected].10/dist-theme/index.js: dist-theme/index.js
packages/extension/[email protected].10/dist-theme/index.js.map: dist-theme/index.js.map
packages/extension/[email protected].12/dist-theme/demo.html: dist-theme/demo.html
packages/extension/[email protected].12/dist-theme/index.js: dist-theme/index.js
packages/extension/[email protected].12/dist-theme/index.js.map: dist-theme/index.js.map
2 changes: 1 addition & 1 deletion packages/cw/cw_echarts_library/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "cw_echarts_library",
"title": "echarts依赖库",
"description": "",
"version": "1.0.10",
"version": "1.0.12",
"main": "./index.js",
"author": "",
"repository": "",
Expand Down

0 comments on commit 517a8b0

Please sign in to comment.