Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-settings
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a0a5bb78
authored
Jul 18, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'huy_dev_v2.7.0' into 'v2.7.0'
Huy dev v2.7.0 See merge request
!70
2 parents
ffd1dc76
8acf6cb0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
src/config/index.js
src/views/role/index.vue
src/config/index.js
View file @
a0a5bb7
...
...
@@ -4,7 +4,7 @@
* @Author: limin
* @Date: 2021-06-07 14:12:32
* @LastEditors: huyue
* @LastEditTime: 2022-0
4-12 11:11:32
* @LastEditTime: 2022-0
7-18 14:48:43
*/
// 根据环境引入不同配置 process.env.VUE_APP_ENV
// let request = require('@/http/request.js')
...
...
@@ -17,8 +17,8 @@ export const fetchConfig = function(isEnv = false) {
Object
.
assign
(
request
,
{
timeout
})
return
Promise
.
resolve
(
cfg
)
}
//
return new Http().get('https://oss-config.test.glsx.com.cn/mock/617ba1df1072f92988f05a14/account/config')
return
new
Http
().
get
(
'http://config-center-backend.test.glsx.com/glsxAdmin/config?moduleUrl=setting-kyq'
).
then
(
res
=>
res
.
data
)
return
new
Http
().
get
(
'https://oss-config.test.glsx.com.cn/mock/617ba1df1072f92988f05a14/account/config'
)
//
return new Http().get('http://config-center-backend.test.glsx.com/glsxAdmin/config?moduleUrl=setting-kyq').then(res => res.data)
}
export
const
config
=
{
install
(
vue
,
cfg
)
{
...
...
src/views/role/index.vue
View file @
a0a5bb7
...
...
@@ -147,7 +147,8 @@ export default {
return
'编辑'
},
condition
:
row
=>
{
return
!
row
.
defalutRole
let
flag
=
!
(
row
.
defalutRole
||
row
.
roleName
==
'系统默认角色'
)
return
flag
},
attrs
:
{
type
:
'text'
,
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment