修改新旧拆分单对比--全文比对
This commit is contained in:
@@ -355,6 +355,14 @@ export default {
|
||||
file.uploadGoOn = false
|
||||
return false
|
||||
}
|
||||
if (this.fileType === 'docx') {
|
||||
if (!(fileSuffix === 'docx')) {
|
||||
this.$message.warning(this.$t('uploadFile.pleaseUpload') + `${this.fileType}` + this.$t('uploadFile.file'))
|
||||
this.uploadGoOn = false
|
||||
file.uploadGoOn = false
|
||||
return false
|
||||
}
|
||||
}
|
||||
if (this.fileType.indexOf(fileSuffix) === -1) {
|
||||
this.$message.warning(this.$t('uploadFile.pleaseUpload') + `${this.fileType}` + this.$t('uploadFile.file'))
|
||||
this.uploadGoOn = false
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
return-id
|
||||
:number="1"
|
||||
class="line-btn"
|
||||
file-type="doc,docx" />
|
||||
file-type="docx" />
|
||||
</div>
|
||||
</a-form-item>
|
||||
</a-form>
|
||||
|
||||
Reference in New Issue
Block a user