We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
process
1 parent 44e73cf commit 07ba6e4Copy full SHA for 07ba6e4
components/upload/Upload.tsx
@@ -70,7 +70,7 @@ export default defineComponent({
70
fileList: nextFileList,
71
});
72
// fix ie progress
73
- if (!window.File || process.env.TEST_IE) {
+ if (!window.File || (typeof process === 'object' && process.env.TEST_IE)) {
74
this.autoUpdateProgress(0, targetItem);
75
}
76
},
0 commit comments