|
|
@@ -23,13 +23,13 @@
|
|
|
action="none"
|
|
|
:auto-upload="false"
|
|
|
:limit="1"
|
|
|
- accept=".xls,.xlsx"
|
|
|
+ accept=".xlsx"
|
|
|
:on-change="handleUpload"
|
|
|
:on-exceed="handleExceed"
|
|
|
>
|
|
|
<div class="choose">选择文件</div>
|
|
|
<div class="message">或拖放文件到这</div>
|
|
|
- <div class="tips">tips:只能上传xls/xlsx文件</div>
|
|
|
+ <div class="tips">tips:只能上传xlsx文件</div>
|
|
|
</el-upload>
|
|
|
|
|
|
<!-- 上传时展示的页面区域 -->
|
|
|
@@ -641,8 +641,8 @@ export default {
|
|
|
this.timer = setInterval(() => {
|
|
|
this.time_s += 1;
|
|
|
this.parsePercentage += 8;
|
|
|
- if (this.parsePercentage >= 90) {
|
|
|
- this.parsePercentage = 90;
|
|
|
+ if (this.parsePercentage >= 98) {
|
|
|
+ this.parsePercentage = 98;
|
|
|
}
|
|
|
}, 1000);
|
|
|
// 开始解析时的处理
|