forked from github/dataease
commit
c04468a492
@ -655,14 +655,14 @@ export default {
|
|||||||
if (this.widgetInfo.name.indexOf('time') !== -1) {
|
if (this.widgetInfo.name.indexOf('time') !== -1) {
|
||||||
type = 'DATE'
|
type = 'DATE'
|
||||||
}
|
}
|
||||||
if (this.widgetInfo.name === 'numberSelectWidget') {
|
if (this.widgetInfo.name.indexOf('numberSelect') !== -1) {
|
||||||
type = 'NUM'
|
type = 'NUM'
|
||||||
}
|
}
|
||||||
viewIds && viewIds.length > 0 && paramsWithIds(type, viewIds).then(res => {
|
if(viewIds && viewIds.length > 0){
|
||||||
const data = res.data
|
paramsWithIds(type, viewIds).then(res => {
|
||||||
|
this.childViews.datasetParams = res.data
|
||||||
this.childViews.datasetParams = data
|
|
||||||
})
|
})
|
||||||
|
}
|
||||||
},
|
},
|
||||||
updateParentName() {
|
updateParentName() {
|
||||||
if (this.fieldsParent && this.viewInfos?.length && this.activeName !== 'dataset') {
|
if (this.fieldsParent && this.viewInfos?.length && this.activeName !== 'dataset') {
|
||||||
@ -839,7 +839,7 @@ export default {
|
|||||||
if (this.widgetInfo.name.indexOf('time') !== -1) {
|
if (this.widgetInfo.name.indexOf('time') !== -1) {
|
||||||
type = 'DATE'
|
type = 'DATE'
|
||||||
}
|
}
|
||||||
if (this.widgetInfo.name === 'numberSelectWidget') {
|
if (this.widgetInfo.name.indexOf('numberSelect') !== -1) {
|
||||||
type = 'NUM'
|
type = 'NUM'
|
||||||
}
|
}
|
||||||
datasetParams(tableId, type).then(res => {
|
datasetParams(tableId, type).then(res => {
|
||||||
|
Loading…
Reference in New Issue
Block a user