Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wecom-sidebar
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wanghuihui
wecom-sidebar
Commits
50ec0d7e
Commit
50ec0d7e
authored
Dec 24, 2021
by
Xiaosong Xiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复ts不识别静态资源文件的问题
parent
7f796fb8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
custom.d.ts
src/custom.d.ts
+8
-0
Home.tsx
src/pages/Home.tsx
+1
-1
No files found.
src/custom.d.ts
0 → 100644
View file @
50ec0d7e
declare
module
'*.svg'
declare
module
'*.png'
declare
module
'*.jpg'
declare
module
'*.jpeg'
declare
module
'*.gif'
declare
module
'*.bmp'
declare
module
'*.tiff'
\ No newline at end of file
src/pages/Home.tsx
View file @
50ec0d7e
...
...
@@ -4,7 +4,7 @@ import {fetchUser} from "../api";
import
{
Spin
,
Button
}
from
"antd"
;
import
{
SearchOutlined
}
from
'@ant-design/icons'
;
import
'./../css/home.css'
import
jt
from
'.
/.
./assets/images/jt.png'
import
jt
from
'../assets/images/jt.png'
const
Home
:
FC
=
()
=>
{
const
[
loading
,
setLoading
]
=
useState
<
boolean
>
(
false
);
const
[
user
,
setUser
]
=
useState
<
UserResponse
>
();
...
...
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