add change password
This commit is contained in:
@@ -24,8 +24,6 @@
|
||||
"@kevisual/router": "^0.0.9",
|
||||
"@kevisual/store": "^0.0.2",
|
||||
"@mui/material": "^6.4.8",
|
||||
"@types/lodash-es": "^4.17.12",
|
||||
"@types/nprogress": "^0.2.3",
|
||||
"@vitejs/plugin-basic-ssl": "^2.0.0",
|
||||
"dayjs": "^1.11.13",
|
||||
"immer": "^10.1.1",
|
||||
@@ -42,7 +40,9 @@
|
||||
"zustand": "^5.0.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@kevisual/types": "^0.0.6"
|
||||
"@kevisual/types": "^0.0.6",
|
||||
"@types/lodash-es": "^4.17.12",
|
||||
"@types/nprogress": "^0.2.3"
|
||||
},
|
||||
"exports": {
|
||||
".": "./src/index.tsx",
|
||||
|
||||
@@ -43,19 +43,19 @@ export const QuickPreview = () => {
|
||||
let accordionList: AccordionItem[] = [];
|
||||
const encodeUrl = encodeURIComponent(url);
|
||||
const previewUrl = `${baseUrl}/app/preview?fileUrl=${encodeUrl}&fileType=${fileType}`;
|
||||
accordionList.push({
|
||||
title: '文件预览',
|
||||
key: 'preview-file',
|
||||
url: previewUrl,
|
||||
content: (
|
||||
<div className=''>
|
||||
<div className='text-sm break-words'>{previewUrl}</div>
|
||||
<Button variant='contained' color='primary' style={{ color: 'white' }} onClick={() => window.open(previewUrl, '_blank')}>
|
||||
点击查看
|
||||
</Button>
|
||||
</div>
|
||||
),
|
||||
});
|
||||
// accordionList.push({
|
||||
// title: '文件预览',
|
||||
// key: 'preview-file',
|
||||
// url: previewUrl,
|
||||
// content: (
|
||||
// <div className=''>
|
||||
// <div className='text-sm break-words'>{previewUrl}</div>
|
||||
// <Button variant='contained' color='primary' style={{ color: 'white' }} onClick={() => window.open(previewUrl, '_blank')}>
|
||||
// 点击查看
|
||||
// </Button>
|
||||
// </div>
|
||||
// ),
|
||||
// });
|
||||
|
||||
if (fileType === 'image') {
|
||||
accordionList.push({
|
||||
|
||||
Reference in New Issue
Block a user