修复警告
修复警告
This commit is contained in:
parent
644c37b3b3
commit
8ac8d1ed96
6 changed files with 12 additions and 20 deletions
|
@ -13,23 +13,23 @@
|
|||
v-show="file.status === 'finished'"
|
||||
@click.native="handleRemove(file)"></Icon>
|
||||
<transition name="fade">
|
||||
<Progress
|
||||
<i-progress
|
||||
v-if="file.showProgress"
|
||||
:stroke-width="2"
|
||||
:percent="parsePercentage(file.percentage)"
|
||||
:status="file.status === 'finished' && file.showProgress ? 'success' : 'normal'"></Progress>
|
||||
:status="file.status === 'finished' && file.showProgress ? 'success' : 'normal'"></i-progress>
|
||||
</transition>
|
||||
</li>
|
||||
</ul>
|
||||
</template>
|
||||
<script>
|
||||
import Icon from '../icon/icon.vue';
|
||||
import Progress from '../progress/progress.vue';
|
||||
import iProgress from '../progress/progress.vue';
|
||||
const prefixCls = 'ivu-upload';
|
||||
|
||||
export default {
|
||||
name: 'UploadList',
|
||||
components: { Icon, Progress },
|
||||
components: { Icon, iProgress },
|
||||
props: {
|
||||
files: {
|
||||
type: Array,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue