datetime日期时间
... 2022-9-15 Less than 1 minute
# datetime日期时间
值:2020-01-01
值:2020-01-01 12:00:00
Copy
<el-row :span="24">
<el-col :span="6">
值:{{form}}<br/>
<avue-date v-model="form" format="yyyy年MM月dd日" value-format="yyyy-MM-dd" placeholder="请选择日期"></avue-date> <el-col :span="24"></el-col>
</el-col>
<el-col :span="24"></el-col>
<el-col :span="6">
值:{{form1}}<br/>
<avue-date v-model="form1" type="datetime" format="yyyy年MM月dd日 hh:mm:ss" value-format="yyyy-MM-dd hh:mm:ss" placeholder="请选择日期"></avue-date>
</el-col>
</el-row>
<script>
export default {
data() {
return {
form:'2020-01-01',
form1:'2020-01-01 12:00:00'
}
}
}
</script>
This app can be installed on your PC or mobile device. This will allow this web app to look and behave like any other installed app. You will find it in your app lists and be able to pin it to your home screen, start menus or task bars. This installed web app will also be able to safely interact with other apps and your operating system.