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
48426937
Commit
48426937
authored
Aug 04, 2021
by
zhujian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:dhgjklhjk
parent
782fdf2c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
13 deletions
+5
-13
src/components/WWOpenDataCom.jsx
+4
-3
src/modules/root/App.tsx
+0
-9
src/modules/root/CollegeManagePage.jsx
+1
-1
No files found.
src/components/WWOpenDataCom.jsx
View file @
48426937
...
...
@@ -2,9 +2,9 @@ import React, { useRef, useLayoutEffect } from 'react'
export
default
function
WWOpenDataCom
({
type
,
openid
})
{
const
ref
=
useRef
(
null
)
useLayoutEffect
(()
=>
{
console
.
log
(
'1111'
);
console
.
log
(
WWOpenData
);
WWOpenData
&&
WWOpenData
.
bind
(
ref
.
current
)
wx
.
ready
(
function
()
{
WWOpenData
&&
WWOpenData
.
bind
(
ref
.
current
)
});
})
return
<
ww
-
open
-
data
ref=
{
ref
}
type=
{
type
}
openid=
{
openid
}
/>
}
\ No newline at end of file
src/modules/root/App.tsx
View file @
48426937
...
...
@@ -164,15 +164,6 @@ const App: React.FC = (props: any) => {
return
(
<
div
id=
"home"
>
{
/* <Layout>
<Sider><Menu menuType={menuType} handleMenuType={handleMenuType} /></Sider>
<Layout>
<Header id="app" handleMenuType={handleMenuType} menuType={menuType} />
<ConfigProvider locale={zhCN} autoInsertSpaceInButton={false}>
<Main menuType={menuType} />
</ConfigProvider>
</Layout>
</Layout> */
}
<
Header
id=
"app"
handleMenuType=
{
handleMenuType
}
menuType=
{
menuType
}
/>
<
VersionContext
.
Provider
value=
{
versionInfo
}
>
<
ConfigProvider
locale=
{
zhCN
}
autoInsertSpaceInButton=
{
false
}
>
...
...
src/modules/root/CollegeManagePage.jsx
View file @
48426937
...
...
@@ -6,7 +6,7 @@ import User from "@/common/js/user";
import
{
LIVE_SHARE
}
from
"@/domains/course-domain/constants"
;
import
{
Modal
,
message
}
from
'antd'
;
import
{
brandLogo
}
from
'@/domains/brand/constants'
//
import WWOpenDataCom from '@/components/WWOpenDataCom';
import
WWOpenDataCom
from
'@/components/WWOpenDataCom'
;
import
'./CollegeManagePage.less'
;
import
storage
from
'@/common/js/storage'
;
...
...
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