Skip to content

Commit

Permalink
fix: 修复数据源在ide中初始化问题
Browse files Browse the repository at this point in the history
  • Loading branch information
YufJi committed Jul 17, 2024
1 parent d95dab3 commit 602ed8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mixins/DataSource.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,11 @@ export default {
this.handleData();
},
handleData() {
if (this.$env && this.$env.VUE_APP_DESIGNER) return;

this.currentDataSource = this.normalizeDataSource(this.dataSource);
// 初始加载开启时
if (this.currentDataSource && this.initialLoad) {
if (this.$env && this.$env.VUE_APP_DESIGNER) return;

if (this.pageNumber && this.pageable) {
this.page(this.pageNumber);
} else {
Expand Down

0 comments on commit 602ed8e

Please sign in to comment.