fix: 首页日历功能bug修复。
This commit is contained in:
@@ -65,7 +65,7 @@ export const constantRoutes = [
|
|||||||
{
|
{
|
||||||
path: '',
|
path: '',
|
||||||
component: Layout,
|
component: Layout,
|
||||||
redirect: '/newindex'
|
redirect: '/accountCalendar'
|
||||||
// children: [
|
// children: [
|
||||||
// {
|
// {
|
||||||
// path: '/index',
|
// path: '/index',
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
|
<div class="app-container">
|
||||||
<!-- 这里是自定义头部,切换视图类型和切换日期 -->
|
<!-- 这里是自定义头部,切换视图类型和切换日期 -->
|
||||||
<div class="calendarHeader">
|
<div class="calendarHeader">
|
||||||
<div class="header_left">
|
<div class="header_left">
|
||||||
@@ -30,6 +31,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- 月视图和周视图显示,列视图显示表格形式 -->
|
<!-- 月视图和周视图显示,列视图显示表格形式 -->
|
||||||
<div v-show="type !== '3'" ref="fullcalendar" class="card" />
|
<div v-show="type !== '3'" ref="fullcalendar" class="card" />
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@@ -71,10 +73,6 @@ export default {
|
|||||||
magenta: { title: '#EB2F96', class: 'magenta' }
|
magenta: { title: '#EB2F96', class: 'magenta' }
|
||||||
},
|
},
|
||||||
fullcalendar: ref(),
|
fullcalendar: ref(),
|
||||||
queryParams: {
|
|
||||||
type: null,
|
|
||||||
time: ''
|
|
||||||
},
|
|
||||||
nowDate: new Date(),
|
nowDate: new Date(),
|
||||||
infoList: [], // 日历显示的列信息
|
infoList: [], // 日历显示的列信息
|
||||||
categoryJSON: {} // 计划分类json
|
categoryJSON: {} // 计划分类json
|
||||||
|
|||||||
Reference in New Issue
Block a user