更新授权应用列表接口
This commit is contained in:
@@ -146,7 +146,7 @@ const AdminOauthAppList: React.FC = () => {
|
|||||||
// { title: '应用密钥', dataIndex: 'secret', width: 120,
|
// { title: '应用密钥', dataIndex: 'secret', width: 120,
|
||||||
// render: (v: string) => <Typography.Text>{v}</Typography.Text>,
|
// render: (v: string) => <Typography.Text>{v}</Typography.Text>,
|
||||||
// },
|
// },
|
||||||
{ title: '应用密钥', dataIndex: 'secret', width: 180,
|
{ title: '应用密钥', dataIndex: 'secret', width: 120,
|
||||||
render: (v: string) => {
|
render: (v: string) => {
|
||||||
if (!v) return '-';
|
if (!v) return '-';
|
||||||
const short = v.length > 12 ? `${v.slice(0, 6)}...${v.slice(-4)}` : v;
|
const short = v.length > 12 ? `${v.slice(0, 6)}...${v.slice(-4)}` : v;
|
||||||
@@ -180,7 +180,7 @@ const AdminOauthAppList: React.FC = () => {
|
|||||||
// render: (v: string) => <Typography.Text>{v}</Typography.Text>,
|
// render: (v: string) => <Typography.Text>{v}</Typography.Text>,
|
||||||
// },
|
// },
|
||||||
|
|
||||||
{ title: '授权URL', dataIndex: 'authUrl', width: 220,
|
{ title: '授权URL', dataIndex: 'authUrl', width: 200,
|
||||||
render: (v: string) => {
|
render: (v: string) => {
|
||||||
if (!v) return '-';
|
if (!v) return '-';
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user