课程缓存优化
This commit is contained in:
parent
75224646c0
commit
59aebd1d57
ruoyi-ui/src
@ -13,9 +13,11 @@ export default {
|
||||
name: 'AppMain',
|
||||
computed: {
|
||||
cachedViews() {
|
||||
//console.log(this.$store.state.tagsView.cachedViews);
|
||||
return this.$store.state.tagsView.cachedViews
|
||||
},
|
||||
key() {
|
||||
//console.log(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";
|
||||
|
||||
export default {
|
||||
name: "Detail",
|
||||
name: "Dayflowstudy",
|
||||
data() {
|
||||
return {
|
||||
// 一日流程名称
|
||||
|
@ -75,7 +75,7 @@ import { treeselect, getMath } from "@/api/benyi/math";
|
||||
import { listPlan } from "@/api/benyi/plan";
|
||||
|
||||
export default {
|
||||
name: "Detail",
|
||||
name: "Mathstudy",
|
||||
data() {
|
||||
return {
|
||||
// 游戏数学名称
|
||||
|
@ -12,7 +12,7 @@
|
||||
style="margin-bottom: 20px"
|
||||
/>
|
||||
</div>
|
||||
<div class="head-container">
|
||||
<div class="head-container tree">
|
||||
<el-tree
|
||||
:data="treeOptions"
|
||||
:props="defaultProps"
|
||||
@ -82,7 +82,7 @@ import { listActivity, getActivity } from "@/api/benyi/activity";
|
||||
import Editor from "@/components/Editor";
|
||||
|
||||
export default {
|
||||
name: "Detail",
|
||||
name: "Themestudy",
|
||||
components: {
|
||||
Editor,
|
||||
},
|
||||
@ -301,4 +301,13 @@ div {
|
||||
-ms-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>
|
Loading…
x
Reference in New Issue
Block a user