提交 d2257cd0 authored 作者: 王鹏飞's avatar 王鹏飞

update

上级 1e6cfc9a
......@@ -74,8 +74,8 @@ export default {
index: '1',
children: [
{ name: this.$t('components.learnSysLayout.sideBar.header1Child1'), index: '1-1' },
{ name: this.$t('components.learnSysLayout.sideBar.header1Child2'), index: '1-2' },
{ name: this.$t('components.learnSysLayout.sideBar.header1Child3'), index: '1-3' }
{ name: this.$t('components.learnSysLayout.sideBar.header1Child2'), index: '1-2' }
// { name: this.$t('components.learnSysLayout.sideBar.header1Child3'), index: '1-3' }
]
},
{
......@@ -86,16 +86,16 @@ export default {
{ name: this.$t('components.learnSysLayout.sideBar.header2Child1'), index: '2-1' }
]
},
{
name: this.$t('components.learnSysLayout.sideBar.header3'),
iconClass: 'el-icon-self-fankuiyijian',
index: '4'
},
{
name: this.$t('components.learnSysLayout.sideBar.header4'),
iconClass: 'el-icon-self-fankuiyijian',
index: '3'
}
// {
// name: this.$t('components.learnSysLayout.sideBar.header3'),
// iconClass: 'el-icon-self-fankuiyijian',
// index: '4'
// }
]
}
},
......
......@@ -7,17 +7,17 @@
<div class="con-box">
<el-button
type="primary"
v-show="tapIndex==0"
v-if="tapIndex==0"
@click="golearningAdd('/app/affairs-hall/learning-add/-1')"
>申请新的活动</el-button>
<el-button
type="primary"
v-show="tapIndex==1"
v-if="tapIndex==1"
@click="golearningAdd('/app/affairs-hall/share-add/-1')"
>申请新乐分享</el-button>
<el-button
type="primary"
v-show="tapIndex==2"
v-if="tapIndex==2"
@click="golearningAdd('/app/affairs-hall/again-add/-1')"
>申请重修</el-button>
<div style="width: 100%; height: 0.2rem;"></div>
......
......@@ -41,10 +41,10 @@ const agentProcessor = () => {
headers['Host'] = 'sso.ezijing.com'
headers['host'] = 'sso.ezijing.com'
} else {
headers['Host'] = 'lms-api.ezijing.com'
headers['host'] = 'lms-api.ezijing.com'
// headers['Host'] = 'lms-worklobby-api.ezijing.com'
// headers['host'] = 'lms-worklobby-api.ezijing.com'
// headers['Host'] = 'lms-api.ezijing.com'
// headers['host'] = 'lms-api.ezijing.com'
headers['Host'] = 'lms-worklobby-api.ezijing.com'
headers['host'] = 'lms-worklobby-api.ezijing.com'
}
/* 测试 */
// if (/\/essay/gi.test(options.url) && /post/gi.test(req.method)) {
......@@ -133,10 +133,10 @@ const agentProcessor = () => {
/* getInfo 时,则写入 用户基本信息 */
if (/user_center\/get_user_info/gi.test(options.url)) {
/* check-access接口 */
headers['Host'] = 'lms-api.ezijing.com'
headers['host'] = 'lms-api.ezijing.com'
// headers['Host'] = 'lms-worklobby-api.ezijing.com'
// headers['host'] = 'lms-worklobby-api.ezijing.com'
// headers['Host'] = 'lms-api.ezijing.com'
// headers['host'] = 'lms-api.ezijing.com'
headers['Host'] = 'lms-worklobby-api.ezijing.com'
headers['host'] = 'lms-worklobby-api.ezijing.com'
axios.defaults.headers = headers
axios({
timeout: 30 * 1000,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论