Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-business
/
glsx-scrm
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 0dfd35ea
authored
Nov 03, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改接口、登录
1 parent
5b15d34e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
3 deletions
env.js
src/layout/components/TopBar/TopMenu.vue
src/layout/components/TopBar/index.vue
src/router/routes.js
env.js
View file @
0dfd35e
...
...
@@ -4,9 +4,11 @@
*/
const
envs
=
{
development
:
{
DOMAIN
:
'https://dev.linkwechat.net'
,
// 接口域名(站点域名请使用:window.location.origin)
//DOMAIN: 'https://dev.linkwechat.net', // 接口域名(站点域名请使用:window.location.origin)
DOMAIN
:
'https://demo.linkwechat.net'
,
BASE_URL
:
'/'
,
// 页面路由基础路径 /*/*/,eg:/lw/,不支持 ’./‘形式的路径
BASE_API
:
'https://dev.linkwechat.net/linkwechat-dev-api'
,
// 接口基础路径
//BASE_API: 'https://dev.linkwechat.net/linkwechat-dev-api', // 接口基础路径
BASE_API
:
'https://demo.linkwechat.net/linkwechat-api'
,
_ISGZIP
:
true
,
_ISCDN
:
true
,
},
...
...
src/layout/components/TopBar/TopMenu.vue
View file @
0dfd35e
...
...
@@ -6,6 +6,7 @@
</el-menu-item>
</el-menu>
<!--
</el-scrollbar>
-->
</
template
>
<
script
>
...
...
src/layout/components/TopBar/index.vue
View file @
0dfd35e
...
...
@@ -15,6 +15,7 @@
</
template
>
</el-scrollbar>
-->
<TopMenu
/>
<el-link
type=
"primary"
@
click=
"goScrm"
>
scrm
</el-link>
<div
class=
"right-menu mr10"
>
<!-- <search id="header-search" class="right-menu-item" /> -->
<!-- <el-popover placement="right" width="300" trigger="hover">
...
...
@@ -180,6 +181,11 @@ export default {
window
.
open
(
path
,
'_blank'
)
}
},
goScrm
(){
let
path
=
`http://fuint.dev.glsx.com.cn/#/?token=A2S1D21DQ1W5F2W1EF2W1EF2W1G2W1E52GW1E2G1W2EG`
;
window
.
open
(
path
,
'_blank'
)
},
},
}
</
script
>
...
...
src/router/routes.js
View file @
0dfd35e
...
...
@@ -147,7 +147,7 @@ if (process.env.NODE_ENV === 'development' || process.env.VUE_APP_ENV === 'devel
],
},
]
fixedRoutes
=
fixedRoutes
.
concat
(
devRoutes
)
//
fixedRoutes = fixedRoutes.concat(devRoutes)
}
// 公共路由
...
...
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