mirror of
https://github.com/eyebluecn/tank-front
synced 2024-04-21 12:31:55 +00:00
upload update
This commit is contained in:
@@ -501,7 +501,7 @@ export default class Matter extends BaseEntity {
|
||||
//(兼容性:chrome,ff,IE9及以上)
|
||||
let formData = new FormData();
|
||||
|
||||
formData.append('userUuid', that.userUuid);
|
||||
formData.append('spaceUuid', that.spaceUuid!);
|
||||
formData.append('puuid', that.puuid);
|
||||
formData.append('file', that.file!);
|
||||
formData.append('alien', that.alien.toString());
|
||||
|
||||
@@ -323,7 +323,7 @@ export default class List extends TankComponent<IProps, IState> {
|
||||
j > 1
|
||||
? dirPathUuidMap[midPaths.slice(0, j - 1).join('/')]
|
||||
: this.currentDirectory.uuid!;
|
||||
m.userUuid = this.user.uuid!;
|
||||
m.spaceUuid = this.getSpaceUuid();
|
||||
await m.httpCreateDirectory(
|
||||
() => {
|
||||
dirPathUuidMap[midPathStr] = m.uuid;
|
||||
@@ -369,7 +369,7 @@ export default class List extends TankComponent<IProps, IState> {
|
||||
const m = new Matter(this);
|
||||
m.dir = false;
|
||||
m.puuid = puuid;
|
||||
m.userUuid = this.user.uuid!;
|
||||
m.spaceUuid = this.getSpaceUuid();
|
||||
|
||||
//判断文件大小。
|
||||
if (this.user.sizeLimit >= 0) {
|
||||
|
||||
Reference in New Issue
Block a user