-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(upload): repair file upload and delete invalidation
- Loading branch information
Showing
14 changed files
with
202 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,8 @@ dist | |
.npmrc | ||
.cache | ||
|
||
test/upload-server/static | ||
|
||
.local | ||
# local env files | ||
.env.local | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,7 @@ | |
- 修复菜单图标大小不一致 | ||
- 修复顶部菜单宽度计算问题 | ||
- 修复表格 tabSetting 问题 | ||
- 修复文件上传删除失效 | ||
|
||
## 2.0.0-rc.12 (2020-11-30) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<template> | ||
<span class="thumb"> | ||
<img v-if="fileUrl" :src="fileUrl" /> | ||
</span> | ||
</template> | ||
<script lang="ts"> | ||
import { defineComponent } from 'vue'; | ||
import { propTypes } from '/@/utils/propTypes'; | ||
export default defineComponent({ | ||
props: { | ||
fileUrl: propTypes.string.def(''), | ||
fileName: propTypes.string.def(''), | ||
}, | ||
}); | ||
</script> | ||
<style lang="less" scoped> | ||
.thumb { | ||
img { | ||
position: static; | ||
display: block; | ||
width: 104px; | ||
height: 104px; | ||
object-fit: cover; | ||
} | ||
} | ||
</style> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Upload Server | ||
|
||
Simple file upload service for testing file upload components. | ||
|
||
## Usage | ||
|
||
```js | ||
|
||
cs ./test/upload-server | ||
|
||
yarn install | ||
|
||
node app.js | ||
|
||
``` |
Oops, something went wrong.