不报错,但是log日志看见错误:

getTime() is not a function

修改rule ,把 type: 'date' 去掉

rules() {

      return{

        title: [

          { required: true, message: '请输入账单名称', trigger: 'blur' },

          { min: 2, max: 20, message: '长度在 2 到 20 个字符', trigger: 'blur' }

        ],

        money: [

          { required: true, message: '请输入交易金额', trigger: 'blur' },

          /*{ type:'number', message: '交易金额必须为数字值', trigger: 'blur' }*/

        ],

        trade_time: [

         /* { type: 'date',required: true, message: '请输入交易时间', trigger: 'change' }*/

          {required: true, message: '请输入交易时间', trigger: 'change' }

        ],

        content: [

          { required: true, message: '请填写交易备注', trigger: 'blur' }

        ]

      }

    },