|
@@ -1,7 +1,7 @@
|
|
|
import { useEffect, useState } from 'react'
|
|
import { useEffect, useState } from 'react'
|
|
|
import { useParams } from 'react-router-dom';
|
|
import { useParams } from 'react-router-dom';
|
|
|
import wxLogin from './wxLogin'
|
|
import wxLogin from './wxLogin'
|
|
|
-import { Spin, Button } from 'antd';
|
|
|
|
|
|
|
+import { Spin } from 'antd';
|
|
|
import { UserInfo } from './type';
|
|
import { UserInfo } from './type';
|
|
|
import http from '@src/http/index';
|
|
import http from '@src/http/index';
|
|
|
import { getBindPQUserInfo, bindPQUser } from "@src/http/api";
|
|
import { getBindPQUserInfo, bindPQUser } from "@src/http/api";
|
|
@@ -79,10 +79,6 @@ const Setting = () => {
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- const postVideo = () => {
|
|
|
|
|
- window.location.href = '/publishContent/videos'
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
return (
|
|
return (
|
|
|
<div className='w-full h-full'>
|
|
<div className='w-full h-full'>
|
|
|
<div className='px-6 py-1 flex flex-row justify-between items-center border-b border-gray-300'>
|
|
<div className='px-6 py-1 flex flex-row justify-between items-center border-b border-gray-300'>
|
|
@@ -98,9 +94,6 @@ const Setting = () => {
|
|
|
<div className='text-black-600 mt-4'>
|
|
<div className='text-black-600 mt-4'>
|
|
|
视频归属用户的票圈UID:{pqUserInfo?.uid}
|
|
视频归属用户的票圈UID:{pqUserInfo?.uid}
|
|
|
</div>
|
|
</div>
|
|
|
- <div className='text-black-600 mt-10'>
|
|
|
|
|
- <Button type="primary" onClick={postVideo}>去发视频</Button>
|
|
|
|
|
- </div>
|
|
|
|
|
</div>
|
|
</div>
|
|
|
)
|
|
)
|
|
|
) : (
|
|
) : (
|