mirror of
https://github.com/dataease/dataease.git
synced 2026-06-11 15:27:02 +08:00
@@ -655,14 +655,14 @@ export default {
|
||||
if (this.widgetInfo.name.indexOf('time') !== -1) {
|
||||
type = 'DATE'
|
||||
}
|
||||
if (this.widgetInfo.name === 'numberSelectWidget') {
|
||||
if (this.widgetInfo.name.indexOf('numberSelect') !== -1) {
|
||||
type = 'NUM'
|
||||
}
|
||||
viewIds && viewIds.length > 0 && paramsWithIds(type, viewIds).then(res => {
|
||||
const data = res.data
|
||||
|
||||
this.childViews.datasetParams = data
|
||||
})
|
||||
if(viewIds && viewIds.length > 0){
|
||||
paramsWithIds(type, viewIds).then(res => {
|
||||
this.childViews.datasetParams = res.data
|
||||
})
|
||||
}
|
||||
},
|
||||
updateParentName() {
|
||||
if (this.fieldsParent && this.viewInfos?.length && this.activeName !== 'dataset') {
|
||||
@@ -839,7 +839,7 @@ export default {
|
||||
if (this.widgetInfo.name.indexOf('time') !== -1) {
|
||||
type = 'DATE'
|
||||
}
|
||||
if (this.widgetInfo.name === 'numberSelectWidget') {
|
||||
if (this.widgetInfo.name.indexOf('numberSelect') !== -1) {
|
||||
type = 'NUM'
|
||||
}
|
||||
datasetParams(tableId, type).then(res => {
|
||||
|
||||
Reference in New Issue
Block a user