1
0
mirror of synced 2025-12-10 07:58:13 +08:00

修复周视图显示错误问题

This commit is contained in:
xuliangzhan
2021-12-11 22:23:36 +08:00
parent d4173f35be
commit 7226257007
8 changed files with 92 additions and 36 deletions

View File

@@ -5,7 +5,7 @@
</template>
<script lang="ts">
import { defineComponent, nextTick, ref, Ref } from 'vue'
import { defineComponent } from 'vue'
export default defineComponent({
name: 'PreCode',

View File

@@ -28,7 +28,7 @@ interface ItemVO {
export default defineComponent({
setup () {
const copyEvent = ({ icon }: ItemVO) => {
const copyEvent = () => {
VXETable.modal.message({ content: '已复制到剪贴板!', status: 'success' })
}
return {

View File

@@ -40,6 +40,16 @@
<vxe-input v-model="demo1.value409" placeholder="农历节日" type="date" :festival-method="festivalCalendarMethod" transfer></vxe-input>
</p>
<p>
<vxe-input v-model="demo1.value701" placeholder="周选择" type="week" :start-day="0" clearable></vxe-input>
<vxe-input v-model="demo1.value702" placeholder="周选择" type="week" :start-day="1" clearable></vxe-input>
<vxe-input v-model="demo1.value703" placeholder="周选择" type="week" :start-day="2" clearable></vxe-input>
<vxe-input v-model="demo1.value704" placeholder="周选择" type="week" :start-day="3" clearable></vxe-input>
<vxe-input v-model="demo1.value705" placeholder="周选择" type="week" :start-day="4" clearable></vxe-input>
<vxe-input v-model="demo1.value706" placeholder="周选择" type="week" :start-day="5" clearable></vxe-input>
<vxe-input v-model="demo1.value707" placeholder="周选择" type="week" :start-day="6" clearable></vxe-input>
</p>
<p>
<vxe-input v-model="demo1.value500" placeholder="数值类型" type="number"></vxe-input>
<vxe-input v-model="demo1.value501" placeholder="数值间隔 1.4" type="number" step="1.4" clearable></vxe-input>
@@ -143,7 +153,14 @@ export default defineComponent({
value600: '',
value601: '',
value602: '',
value603: ''
value603: '',
value701: '2017-12-18',
value702: '2017-12-18',
value703: '2017-12-18',
value704: '2017-12-18',
value705: '2017-12-18',
value706: '2017-12-18',
value707: '2017-12-18'
})
const disabledDateMethod: VxeInputPropTypes.DisabledMethod = (params) => {