Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
bd6007d6
提交
bd6007d6
编写于
3月 13, 2019
作者:
huangwensu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
dev环境接口
上级
da9122a3
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
3 行增加
和
3 行删除
+3
-3
envConfig.js
src/utils/envConfig.js
+2
-2
slidebar.vue
src/views/layout/slidebar.vue
+1
-1
未找到文件。
src/utils/envConfig.js
浏览文件 @
bd6007d6
...
@@ -13,7 +13,7 @@ export const envConfig = {
...
@@ -13,7 +13,7 @@ export const envConfig = {
// apiUrl: 'https://test1-api.yunqueyi.com/',
// apiUrl: 'https://test1-api.yunqueyi.com/',
// webPageUrl: 'https://test1-phome.yunqueyi.com/'
// webPageUrl: 'https://test1-phome.yunqueyi.com/'
//baseUrl: 'https://uat-sc.yunqueyi.com/',
//baseUrl: 'https://uat-sc.yunqueyi.com/',
baseUrl
:
'http://
192.168.110.226
:11905/portal/'
,
baseUrl
:
'http://
localhost
:11905/portal/'
,
apiUrl
:
'https://uat-api.yunqueyi.com/'
,
apiUrl
:
'https://uat-api.yunqueyi.com/'
,
webPageUrl
:
'https://uat-phome.yunqueyi.com/'
,
webPageUrl
:
'https://uat-phome.yunqueyi.com/'
,
qiniuUrl
:
"http://localhost:10201/contents/admin/qiniu/token"
,
qiniuUrl
:
"http://localhost:10201/contents/admin/qiniu/token"
,
...
@@ -22,7 +22,7 @@ export const envConfig = {
...
@@ -22,7 +22,7 @@ export const envConfig = {
qiniuImgUrl
:
"https://test1-file.yunqueyi.com"
qiniuImgUrl
:
"https://test1-file.yunqueyi.com"
},
},
dev
:
{
dev
:
{
baseUrl
:
'https://dev-sc.yunqueyi.com/portal'
,
baseUrl
:
'https://dev-sc.yunqueyi.com/portal
/
'
,
apiUrl
:
'https://dev-api.yunqueyi.com/'
,
apiUrl
:
'https://dev-api.yunqueyi.com/'
,
webPageUrl
:
'https://dev-phome.yunqueyi.com/'
,
webPageUrl
:
'https://dev-phome.yunqueyi.com/'
,
qiniuUrl
:
"http://localhost:11905/contents/admin/qiniu/token"
,
qiniuUrl
:
"http://localhost:11905/contents/admin/qiniu/token"
,
...
...
src/views/layout/slidebar.vue
浏览文件 @
bd6007d6
...
@@ -86,7 +86,7 @@ export default {
...
@@ -86,7 +86,7 @@ export default {
]),
]),
// 获取用户权限
// 获取用户权限
getUserAuth
(
token
)
{
getUserAuth
(
token
)
{
vm
.
GET
(
'
/
common/v1/role'
,{
token
:
token
}).
then
((
res
)
=>
{
vm
.
GET
(
'common/v1/role'
,{
token
:
token
}).
then
((
res
)
=>
{
if
(
res
.
code
==
'000000'
)
{
if
(
res
.
code
==
'000000'
)
{
vm
.
changeIdType
(
res
.
data
.
idType
)
vm
.
changeIdType
(
res
.
data
.
idType
)
vm
.
authList
=
res
.
data
.
auth
vm
.
authList
=
res
.
data
.
auth
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录