mirror of
https://github.com/dataease/dataease.git
synced 2026-05-17 06:50:45 +08:00
fix(仪表板): 修复部分官方示例模板导入后无法使用官方示例数据集的问题
This commit is contained in:
@@ -2952,7 +2952,7 @@ export default {
|
||||
|
||||
// 更换数据集
|
||||
changeChart() {
|
||||
const optType = this.view.tableId === this.changeTable.id ? 'same' : 'change'
|
||||
const optType = this.view.tableId === this.changeTable.id && this.view.dataFrom!=='template' ? 'same' : 'change'
|
||||
// 更换数据集后清空视图字段,并重新请求数据;否则没有操作
|
||||
if (optType === 'change') {
|
||||
this.view.dataFrom = 'dataset'
|
||||
|
||||
Reference in New Issue
Block a user