成功vue el-date-picker后台接收不到数据解决

以前是这样,接收不到数据

<el-table-column prop="TreatmentTime" label="治疗时间" align="center">

<template scope="scope">

<el-date-picker

v-model="scope.row.TreatmentTime"

type="month"

value-format="yyyy-MM-dd"

placeholder="选择日期时间"

size="mini"

></el-date-picker>

</template>

</el-table-column>

改成:

<el-table-column prop="TreatmentTime" label="治疗时间" align="center">

<template scope="scope">

<el-date-picker

v-model="scope.row.TreatmentTime"

type="month"

value-format="yyyy-MM-dd HH:mm:ss""

placeholder="选择日期时间"

size="mini"

></el-date-picker>

</template>

</el-table-column>

就接收到数据了

(0)

相关推荐