feat: migrate Form component
This commit is contained in:
@@ -3,14 +3,14 @@
|
||||
readonly
|
||||
clickable
|
||||
name="area"
|
||||
:value="value"
|
||||
:label="t('picker')"
|
||||
:model-value="value"
|
||||
:placeholder="t('placeholder')"
|
||||
@click="showArea = true"
|
||||
>
|
||||
<template #extra>
|
||||
<van-popup
|
||||
v-model="showArea"
|
||||
v-model:show="showArea"
|
||||
round
|
||||
position="bottom"
|
||||
get-container="body"
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
readonly
|
||||
clickable
|
||||
name="calendar"
|
||||
:value="value"
|
||||
:label="t('calendar')"
|
||||
:model-value="value"
|
||||
:placeholder="t('placeholder')"
|
||||
@click="showCalendar = true"
|
||||
>
|
||||
<template #extra>
|
||||
<van-calendar
|
||||
v-model="showCalendar"
|
||||
v-model:show="showCalendar"
|
||||
round
|
||||
get-container="body"
|
||||
@confirm="onConfirm"
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
readonly
|
||||
clickable
|
||||
name="datetimePicker"
|
||||
:value="value"
|
||||
:label="t('label')"
|
||||
:model-value="value"
|
||||
:placeholder="t('placeholder')"
|
||||
@click="showPicker = true"
|
||||
>
|
||||
<template #extra>
|
||||
<van-popup
|
||||
v-model="showPicker"
|
||||
v-model:show="showPicker"
|
||||
round
|
||||
position="bottom"
|
||||
get-container="body"
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
readonly
|
||||
clickable
|
||||
name="picker"
|
||||
:value="value"
|
||||
:label="t('picker')"
|
||||
:model-value="value"
|
||||
:placeholder="t('placeholder')"
|
||||
@click="showPicker = true"
|
||||
>
|
||||
<template #extra>
|
||||
<van-popup
|
||||
v-model="showPicker"
|
||||
v-model:show="showPicker"
|
||||
round
|
||||
position="bottom"
|
||||
get-container="body"
|
||||
|
||||
Reference in New Issue
Block a user