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
5339ff27
Commit
5339ff27
authored
Jun 22, 2021
by
zhangleyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:处理店铺员工不存在的问题
parent
fab31a41
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
10 deletions
+6
-10
src/index.tsx
+2
-6
src/modules/root/App.tsx
+4
-4
No files found.
src/index.tsx
View file @
5339ff27
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: 吴文洁
* @Author: 吴文洁
* @Date: 2020-04-27 20:35:34
* @Date: 2020-04-27 20:35:34
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @LastEditTime: 2021-06-22 1
1:43:51
* @LastEditTime: 2021-06-22 1
7:47:20
* @Description:
* @Description:
*/
*/
...
@@ -24,11 +24,7 @@ import Service from "@/common/js/service";
...
@@ -24,11 +24,7 @@ import Service from "@/common/js/service";
declare
var
getParameterByName
:
any
;
declare
var
getParameterByName
:
any
;
declare
var
window
:
any
;
declare
var
window
:
any
;
if
(
!
window
.
currentStoreUserInfo
){
window
.
currentStoreUserInfo
=
{}
console
.
log
(
'我走进了此流程'
)
window
.
currentStoreUserInfo
=
{}
}
const
history
=
createHashHistory
();
const
history
=
createHashHistory
();
window
.
RCHistory
=
_
.
extend
({},
history
,
{
window
.
RCHistory
=
_
.
extend
({},
history
,
{
...
...
src/modules/root/App.tsx
View file @
5339ff27
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: 吴文洁
* @Author: 吴文洁
* @Date: 2019-07-10 10:30:49
* @Date: 2019-07-10 10:30:49
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @LastEditTime: 2021-06-22 1
0:58:48
* @LastEditTime: 2021-06-22 1
7:47:02
* @Description:
* @Description:
*/
*/
import
React
,
{
useContext
,
useEffect
,
useState
}
from
'react'
;
import
React
,
{
useContext
,
useEffect
,
useState
}
from
'react'
;
...
@@ -86,9 +86,9 @@ const App: React.FC = (props: any) => {
...
@@ -86,9 +86,9 @@ const App: React.FC = (props: any) => {
function
setCurrentStoreUserInfo
(
storeId
:
any
,
storeUserId
:
any
){
function
setCurrentStoreUserInfo
(
storeId
:
any
,
storeUserId
:
any
){
window
.
currentStoreUserInfo
.
storeId
=
storeId
;
window
.
currentStoreUserInfo
.
storeId
=
storeId
;
window
.
currentStoreUserInfo
.
storeUserId
=
storeUserId
;
window
.
currentStoreUserInfo
.
storeUserId
=
storeUserId
;
//
window.currentStoreUserInfo.userId = User.getUserId();
window
.
currentStoreUserInfo
.
userId
=
User
.
getUserId
();
//
window.currentStoreUserInfo.token = User.getToken();
window
.
currentStoreUserInfo
.
token
=
User
.
getToken
();
//
window.currentStoreUserInfo.enterpriseId = User.getEnterpriseId();
window
.
currentStoreUserInfo
.
enterpriseId
=
User
.
getEnterpriseId
();
}
}
function
getStoreGroupAndStoreList
()
{
function
getStoreGroupAndStoreList
()
{
...
...
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