u
This commit is contained in:
1 parent
e99a9fb274
commit
0be0b0767a
788 files changed
+112023
-14941
No files matched your search
@@ -4,18 +4,10 @@ import { ref } from 'vue'
|
||||
import { G3RangePicker } from '@g3soft/ui'
|
||||
|
||||
const range = ref<string[]>(['', ''])
|
||||
const lastChange = ref('暂无')
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div style="width: 320px">
|
||||
<G3RangePicker
|
||||
v-model="range"
|
||||
@change="(value: string[]) => (lastChange = value.join(' ~ '))"
|
||||
/>
|
||||
<p style="margin: 8px 0 0; font-size: 13px; color: #6b7280">
|
||||
绑定值:{{ range[0] || '(空)' }} ~ {{ range[1] || '(空)' }}
|
||||
</p>
|
||||
<p style="margin: 4px 0 0; font-size: 12px; color: #6b7280">change:{{ lastChange }}</p>
|
||||
<G3RangePicker v-model="range" />
|
||||
</div>
|
||||
</template>
|
||||
Reference in new issue
Block a user