mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 04:16:47 +08:00
修改代码格式化
This commit is contained in:
@@ -3,8 +3,11 @@
|
||||
<div style="margin-left: 21px">
|
||||
<a-breadcrumb>
|
||||
<a-breadcrumb-item v-for="(value, index) in list" :key="index">
|
||||
<router-link :to="value.href ? value.href : ''" :style="{ display: value.href ? 'inline-block' : 'none' }">{{
|
||||
value.name }}</router-link>
|
||||
<router-link
|
||||
:to="value.href ? value.href : ''"
|
||||
:style="{ display: value.href ? 'inline-block' : 'none' }"
|
||||
>{{ value.name }}</router-link
|
||||
>
|
||||
<span :style="{ display: value.href ? 'none' : 'inline-block' }">{{
|
||||
value.name
|
||||
}}</span>
|
||||
@@ -326,22 +329,6 @@ export default {
|
||||
},
|
||||
];
|
||||
}
|
||||
if (
|
||||
n.indexOf("/courseExquisite") !== -1 ||
|
||||
n.indexOf("/courseExquisite") !== -1
|
||||
) {
|
||||
state.list = [
|
||||
{
|
||||
name: "课程库",
|
||||
href: "",
|
||||
// href: "#/coursewaremanage",
|
||||
},
|
||||
{
|
||||
name: "精品课管理",
|
||||
href: "",
|
||||
},
|
||||
];
|
||||
}
|
||||
if (
|
||||
n.indexOf("/coursemanage") !== -1 ||
|
||||
n.indexOf("/CourseManage") !== -1
|
||||
@@ -387,6 +374,22 @@ export default {
|
||||
},
|
||||
];
|
||||
}
|
||||
if (
|
||||
n.indexOf("/courseExquisite") !== -1 ||
|
||||
n.indexOf("/courseExquisite") !== -1
|
||||
) {
|
||||
state.list = [
|
||||
{
|
||||
name: "课程库",
|
||||
href: "",
|
||||
// href: "#/coursewaremanage",
|
||||
},
|
||||
{
|
||||
name: "精品课管理",
|
||||
href: "",
|
||||
},
|
||||
];
|
||||
}
|
||||
if (
|
||||
n.indexOf("/researchmanage") !== -1 ||
|
||||
n.indexOf("/ResearchManage") !== -1
|
||||
@@ -512,6 +515,7 @@ export default {
|
||||
{
|
||||
name: "待审核项目",
|
||||
},
|
||||
|
||||
];
|
||||
}
|
||||
|
||||
@@ -905,14 +909,12 @@ export default {
|
||||
height: 60px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.el-breadcrumb__inner.is-link {
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
color: #878b92 !important;
|
||||
line-height: 36px;
|
||||
}
|
||||
|
||||
.el-breadcrumb__inner {
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
|
||||
Reference in New Issue
Block a user