Commit 50ec0d7e authored by Xiaosong Xiao's avatar Xiaosong Xiao

修复ts不识别静态资源文件的问题

parent 7f796fb8
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
......@@ -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>();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment