forked from github/dataease
commit
c6ab3cc44a
@ -328,10 +328,13 @@ export default {
|
|||||||
|
|
||||||
created() {
|
created() {
|
||||||
this.attrs = this.controlAttrs
|
this.attrs = this.controlAttrs
|
||||||
if (this.widget.isTimeWidget && this.widget.isTimeWidget()) {
|
if (this.widget.isTimeWidget) {
|
||||||
this.showParams = true
|
this.showParams = true
|
||||||
this.isRangeParamWidget = this.widget.isRangeParamWidget && this.widget.isRangeParamWidget()
|
this.isRangeParamWidget = this.widget.isRangeParamWidget && this.widget.isRangeParamWidget()
|
||||||
}
|
}
|
||||||
|
if ('timeYearWidget,timeMonthWidget,timeDateWidget,textSelectWidget,numberSelectWidget'.indexOf(this.widget.name) !== -1) {
|
||||||
|
this.showParams = true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
changeDynamicParams(val, name) {
|
changeDynamicParams(val, name) {
|
||||||
|
Loading…
Reference in New Issue
Block a user