Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-cloud-class-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaomai-cloud-class
xiaomai-cloud-class-web
Commits
81c5d800
Commit
81c5d800
authored
Dec 22, 2020
by
zhangleyuan
Browse files
Options
Browse Files
Download
Plain Diff
feat:解决合并代码后的冲突
parents
15fa2c33
9ee29271
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
src/data-source/base/request-apis.ts
+1
-1
src/domains/basic-domain/constants.ts
+2
-2
src/index.html
+1
-1
src/modules/root/App.tsx
+2
-2
src/modules/root/Header.tsx
+1
-1
No files found.
src/data-source/base/request-apis.ts
View file @
81c5d800
...
...
@@ -2,7 +2,7 @@
* @Author: wufan
* @Date: 2020-12-01 17:21:21
* @LastEditors: zhangleyuan
* @LastEditTime: 2020-12-22 15:
26:59
* @LastEditTime: 2020-12-22 15:
39:00
* @Description: Description
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/
...
...
src/domains/basic-domain/constants.ts
View file @
81c5d800
/*
* @Author: 陈剑宇
* @Date: 2020-05-07 14:43:01
* @LastEditTime: 2020-12-22 15:3
2:32
* @LastEditTime: 2020-12-22 15:3
9:08
* @LastEditors: zhangleyuan
* @Description:
* @FilePath: /wheat-web-demo/src/domains/basic-domain/constants.ts
...
...
@@ -9,7 +9,7 @@
import
{
MapInterface
}
from
'@/domains/basic-domain/interface'
// 默认是 dev 环境
const
ENV
:
string
=
process
.
env
.
DEPLOY_ENV
||
'
dev
'
;
const
ENV
:
string
=
process
.
env
.
DEPLOY_ENV
||
'
rc
'
;
console
.
log
(
"process.env.DEPLOY_ENV"
,
process
)
const
BASIC_HOST_MAP
:
MapInterface
=
{
dev
:
'https://dev-heimdall.xiaomai5.com/'
,
...
...
src/index.html
View file @
81c5d800
...
...
@@ -2,7 +2,7 @@
* @Author: 吴文洁
* @Date: 2020-08-24 12:20:57
* @LastEditors: zhangleyuan
* @LastEditTime: 2020-12-22 15:
28:34
* @LastEditTime: 2020-12-22 15:
38:46
* @Description:
* @Copyright: 杭州杰竞科技有限公司 版权所有
-->
...
...
src/modules/root/App.tsx
View file @
81c5d800
...
...
@@ -2,7 +2,7 @@
* @Author: 吴文洁
* @Date: 2019-07-10 10:30:49
* @LastEditors: zhangleyuan
* @LastEditTime: 2020-12-22 15:3
6:4
8
* @LastEditTime: 2020-12-22 15:3
9:2
8
* @Description:
*/
import
React
,
{
useContext
,
useEffect
,
useState
}
from
'react'
;
...
...
@@ -21,8 +21,8 @@ declare var window: any;
const
App
:
React
.
FC
=
(
props
:
any
)
=>
{
const
ctx
:
any
=
useContext
(
XMContext
);
const
userId
=
User
.
getUserId
();
const
{
menuType
,
setMenuType
}
=
useState
(
false
)
window
.
currentUserInstInfo
=
{
adminId
:
"1305385165390426114"
,
adminName
:
"吴帆"
,
gender
:
"UNKNOWN"
,
parentId
:
"1305385165390426114"
,
roleRemark
:
""
,
instId
:
"1213001850820476929"
}
const
[
menuType
,
setMenuType
]
=
useState
(
true
);
window
.
ctx
=
ctx
;
...
...
src/modules/root/Header.tsx
View file @
81c5d800
...
...
@@ -2,7 +2,7 @@
* @Author: 吴文洁
* @Date: 2019-09-10 18:26:03
* @LastEditors: zhangleyuan
* @LastEditTime: 2020-12-22 15:
26:21
* @LastEditTime: 2020-12-22 15:
39:35
* @Description:
*/
import
React
,
{
useContext
,
useState
}
from
'react'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment