eyebluecn / tank-front Goto Github PK
View Code? Open in Web Editor NEW蓝眼系列软件之《蓝眼云盘》前端项目
Home Page: http://tank-doc.eyeblue.cn/
License: MIT License
蓝眼系列软件之《蓝眼云盘》前端项目
Home Page: http://tank-doc.eyeblue.cn/
License: MIT License
ps. 报的错误提示 not found record with uuid =
我创建了一个共享空间,里面上传一些文件是正常的,然后我在里面创建一个文件夹,往这个文件夹里面传一些文件,上传成功过后,刷新列表,没有已上传的文件,而且从外面重新进,还是找不到这些文件,找到了对应的请求
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在这有什么用
第一天没有问题
第二天登陆的时候报以下错误,并且第一天上传的东西不显示了
runtime error: invalid memory address or nil pointer dereference
npm ERR! Unexpected end of JSON input while parsing near '...urce-map-support":"^0'
npm ERR! Unexpected end of JSON input while parsing near '..."},"directories":{},"'
上传多个文件时
在某些情况下会导致进度条处于冻结状态
src\pages\matter\List.tsx-794
this.uploadMattersMap[this.getSpaceUuid()]?.map((m) => (
<UploadMatterPanel matter={m} />
))
src\pages\matter\widget\UploadMatterPanel.tsx-33
componentWillUnmount() {
this.props.matter.reactComponent = null;
}
未设置key导致列表中的组件全部卸载了一遍
导致reactComponent为null,updateUI函数失效
已提交PR
如果在创建完管理员后,选择chrome的更新密码,那么前面的mysqlpassword会自动被chrome更新成adminpassword,是不是可以把index.vue中的mysqlpassword input加入autocomplete = 'new-password'属性,或者把httpFinish请求提前到上一步自动发起,而不是在点击返回首页时触发更好一些?
如题
编译报错
(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 (internal/modules/cjs/helpers.js:25:18)
at Object. (/home/azureuser/test/tank-front/node_modules/eslint-webpack-plugin/dist/getESLint.js:9:5)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
(node:29417) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:29417) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
配置好环境后运行 npm run build 提示
npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] build:
node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-04-11T05_53_44_135Z-debug.log
完整代码如下 非常喜欢大大的程序,希望能够指正我的问题 谢谢
root@vmi520813:/www/wwwroot/tank-front# npm run build
[email protected] build /www/wwwroot/tank-front
node scripts/build.js
/www/wwwroot/tank-front/node_modules/terser-webpack-plugin/node_modules/schema-utils/dist/validate.js:104
throw new _ValidationError.default(errors, schema, configuration);
^
ValidationError: Invalid options object. Terser Plugin has been initialized using an options object that does not match the API schema.
terser
.',terser
.',terser
.',node scripts/build.js
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-04-11T05_53_44_135Z-debug.log
`
提升用户体验
这样可以方便其他项目的内嵌集成
是否可以吧elementui剥离出vendor,放到cdn更好些,现在vendor太大了,页面是否也可以改成require.ensure按需加载模式?移动端是否也可以加入-webkit-overflow-scrolling: touch;
我下载了您的代码,在本地npm run dev
之后用体验账号: [email protected] 密码:123456试图登录看云盘里边的东西,但是并不能登录,有没有一个可以用来只看前端的账号呢。
修改了下,暂时能用
.side-navigation {
position: fixed;
width: 170px;
left: -170px;
top: 0;
bottom: 0;
z-index: 1000;
background: #343848;
/* -webkit-transition: all .4s;
transition: all .4s; */
}
.side-navigation.show-drawer {
left: 0;
-webkit-transition: all .4s;
transition: all .4s;
}
/api/matter/page?page=0&pageSize=50&orderCreateTime=DESC&puuid=root&userUuid=6157a96f-e2a9-489b-6c59-c9d0ed97ea15&orderDir=DESC Failed to load resource: the server responded with a status of 401 ()
This is a feature recommendation.
I tried to use the online disc to play online, but I found that the content was downloaded directly. Is there a problem with the preview? Or is the video preview format limited?
Video format for. WMV.
We hope to increase the video preview. This function can be turned on and off for users with traffic.
Hope the program is getting better and better.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.