lvkun996 8 months ago
parent
commit
3e32d7b75e
2 changed files with 3 additions and 4 deletions
  1. 0 1
      config/config.ts
  2. 3 3
      src/pages/notice/modal.tsx

+ 0 - 1
config/config.ts

@@ -6,7 +6,6 @@ import proxy from './proxy';
 const { REACT_APP_ENV } = process.env;
 
 export default defineConfig({
-  base: './',
   publicPath: './',
   hash: true,
   antd: {},

+ 3 - 3
src/pages/notice/modal.tsx

@@ -93,9 +93,9 @@ class EditorDemo extends React.Component<EditorDemoProps> {
           editorState: ContentUtils.insertMedias(this.state.editorState, [
             {
               type: 'IMAGE',
-              url: fileList[len].response.data + `?imageView2/1/w/343/h/192`,
-              width: '343px',
-              height: '192px',
+              url: fileList[len].response.data + `?imageView2/1/`,
+              // width: '343px',
+              // height: '192px',
             },
           ]),
         });