tank-front
tank-front copied to clipboard
蓝眼系列软件之《蓝眼云盘》前端项目
编译报错 (node:29417) UnhandledPromiseRejectionWarning: /home/azureuser/test/tank-front/node_modules/eslint-webpack-plugin/node_modules/jest-worker/build/index.js:110 _ending; ^ SyntaxError: Unexpected token ; at Module._compile (internal/modules/cjs/loader.js:723:23) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) at Module.require (internal/modules/cjs/loader.js:692:17) at require...
我创建了一个共享空间,里面上传一些文件是正常的,然后我在里面创建一个文件夹,往这个文件夹里面传一些文件,上传成功过后,刷新列表,没有已上传的文件,而且从外面重新进,还是找不到这些文件,找到了对应的请求 http://localhost:6015/api/matter/page?page=0&name=undefined&pageSize=500&orderCreateTime=DESC&puuid=2a9cdc30-a602-423b-5f06-4662c7b2fefc&deleted=false&orderDir=DESC&spaceUuid=26dc62c6-38c0-4b28-5bcd-de6261f6a768, 我发现把这个name这个请求字段删除就正常,代码在 src/pages/matter/List.tsx 里面有个函数叫goToDirectory 里面写了一个name:undefined,我把这个注释掉就可以,不能理解这个name:undefined在这有什么用
### 只显示首层文件夹,二级文件夹不显示文件   ### 控制台 并未报错  ### 修改内容: 添加了下图的一个按钮,应该只是前端  ### 控制台输出  是编译环境不正确吗? `PS C:\Users\Administrator\Downloads\DrvCeo\tank-front-master> node -v v18.19.0 PS C:\Users\Administrator\Downloads\DrvCeo\tank-front-master> npm -v 10.4.0 PS C:\Users\Administrator\Downloads\DrvCeo\tank-front-master> `
上传多个文件时 在某些情况下会导致进度条处于冻结状态 src\pages\matter\List.tsx-794 ``` this.uploadMattersMap[this.getSpaceUuid()]?.map((m) => ( )) ``` src\pages\matter\widget\UploadMatterPanel.tsx-33 ``` componentWillUnmount() { this.props.matter.reactComponent = null; } ``` 未设置key导致列表中的组件全部卸载了一遍 导致reactComponent为null,updateUI函数失效 已提交[PR](https://github.com/eyebluecn/tank-front/pull/49)
如题
提升用户体验
这样可以方便其他项目的内嵌集成
- [ ] matter list/space matter list (60%) - [ ] share detail - [ ] bin list