for example, there are three sets of date selectors. The first one of each group will have the problem of mispositioning. How to solve it at 0: 00?
Code structure:
< el-form-item label=" time Dimension:">
<el-radio-group v-model="dateRange" size="mini">
<el-radio-button label="dateDay"></el-radio-button>
<el-radio-button label="dateWeek"></el-radio-button>
<el-radio-button label="dateMonth"></el-radio-button>
</el-radio-group>
<!-- -->
<span v-if="dateRange=="dateDay"">
<el-date-picker
v-model="dateDayVal"
size="mini"
type="daterange"
range-separator=""
start-placeholder=""
end-placeholder="">
</el-date-picker>
</span>
<!-- -->
<span v-if="dateRange=="dateWeek"">
<el-date-picker
v-model="weekValue"
type="week"
size="mini"
:picker-options="packerOpitions"
@change="changePacker"
:clearable="false"
format= "yyyyWW"
placeholder="">
</el-date-picker>
<span></span>
<el-date-picker
v-model="weekValue2"
type="week"
size="mini"
align="center"
:picker-options="packerOpitions"
@change="changePacker2"
:clearable="false"
format= "yyyyWW"
placeholder="">
</el-date-picker>
</span>
<!-- -->
<span v-if="dateRange=="dateMonth"">
<el-date-picker
v-model="dateMonthVal1"
type="month"
size="mini"
placeholder="">
</el-date-picker>
<span></span>
<el-date-picker
v-model="dateMonthVal2"
type="month"
size="mini"
placeholder="">
</el-date-picker>
</span>
</el-form-item>
effect is shown in figure