html部分
<div class="left">
<div class="control">
<button class="prevm" @click="prevMonth(value)"></button>
<el-date-picker v-model="value" type="date" :placeholder="'value'">
</el-date-picker>
<button class="nextm" @click="nextMonth(value)"></button>
</div>
<el-calendar v-model="value" id="calendar">
<!-- 这里使用的是 2.5 slot 语法,对于新项目请使用 2.6 slot 语法-->
<template slot="dateCell" slot-scope="{ data }">
<p>
<!--这里原本有动态绑定的class,去掉-->
{
{ data.day.split("-").slice(2).join("") }}
</p>
<span>{
{ dealMyDate(data.day) }}</span&