1、修改html文件中需要修改的时间格式
<template slot-scope="scope"> <span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d} {h}:{i}:{s}') }}</span> </template>