课程缓存优化
This commit is contained in:
parent
75224646c0
commit
59aebd1d57
@ -13,9 +13,11 @@ export default {
|
|||||||
name: 'AppMain',
|
name: 'AppMain',
|
||||||
computed: {
|
computed: {
|
||||||
cachedViews() {
|
cachedViews() {
|
||||||
|
//console.log(this.$store.state.tagsView.cachedViews);
|
||||||
return this.$store.state.tagsView.cachedViews
|
return this.$store.state.tagsView.cachedViews
|
||||||
},
|
},
|
||||||
key() {
|
key() {
|
||||||
|
//console.log(this.$route.path);
|
||||||
return this.$route.path
|
return this.$route.path
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -69,7 +69,7 @@ import { listUnscramble } from "@/api/benyi/dayflow/unscramble";
|
|||||||
import { treeselect, getDetail } from "@/api/benyi/dayflow/dayflowmanger";
|
import { treeselect, getDetail } from "@/api/benyi/dayflow/dayflowmanger";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "Detail",
|
name: "Dayflowstudy",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
// 一日流程名称
|
// 一日流程名称
|
||||||
|
@ -75,7 +75,7 @@ import { treeselect, getMath } from "@/api/benyi/math";
|
|||||||
import { listPlan } from "@/api/benyi/plan";
|
import { listPlan } from "@/api/benyi/plan";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "Detail",
|
name: "Mathstudy",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
// 游戏数学名称
|
// 游戏数学名称
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
style="margin-bottom: 20px"
|
style="margin-bottom: 20px"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="head-container">
|
<div class="head-container tree">
|
||||||
<el-tree
|
<el-tree
|
||||||
:data="treeOptions"
|
:data="treeOptions"
|
||||||
:props="defaultProps"
|
:props="defaultProps"
|
||||||
@ -82,7 +82,7 @@ import { listActivity, getActivity } from "@/api/benyi/activity";
|
|||||||
import Editor from "@/components/Editor";
|
import Editor from "@/components/Editor";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "Detail",
|
name: "Themestudy",
|
||||||
components: {
|
components: {
|
||||||
Editor,
|
Editor,
|
||||||
},
|
},
|
||||||
@ -301,4 +301,13 @@ div {
|
|||||||
-ms-user-select: none;
|
-ms-user-select: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
.el-tree {
|
||||||
|
min-width: 100%;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
.tree {
|
||||||
|
overflow:auto;
|
||||||
|
height: calc(100% - 52px);
|
||||||
|
max-height: 600px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
Loading…
x
Reference in New Issue
Block a user