lb #17

Merged
gtz217 merged 29 commits from lb into master 2022-11-25 16:46:41 +08:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit c943481826 - Show all commits

View File

@ -186,7 +186,7 @@
</div>
<div class="" style="width: calc(400px * var(--beilv)); flex: 1;">
<techy-box class="" style="padding: 0 calc(16px * var(--beilv));">
<productionRateHeader @update-data="str => dataUpdateToken = str">产品成品率</productionRateHeader>
<productionRateHeader @update-data="obj => { dataUpdateToken = obj.str; dateMode2 = obj.mode }">产品成品率</productionRateHeader>
<div style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;">
<new-line-stack :data-update-token="dataUpdateToken" :mode="dateMode2" />
</div>

View File

@ -114,7 +114,7 @@
:class="{ 'date-select__active': dateMode === 'day' }"
@click="
dateMode = 'day'
$emit('update-data', '' + Math.random())
$emit('update-data', { str: '' + Math.random(), mode: dateMode })
"
>
@ -123,7 +123,7 @@
:class="{ 'date-select__active': dateMode === 'month' }"
@click="
dateMode = 'month'
$emit('update-data', '' + Math.random())
$emit('update-data', { str: '' + Math.random(), mode: dateMode })
"
>