feat: support for IE11 browser
This commit is contained in:
1 parent
20ebbf6611
commit
7ec24d9d77
7 files changed
+39
-6
No files matched your search
@@ -812,7 +812,10 @@ export default {
|
||||
}
|
||||
},
|
||||
upload: function () {
|
||||
if (typeof DataTransferItem.prototype.webkitGetAsEntry !== "undefined") {
|
||||
if (
|
||||
typeof window.DataTransferItem !== "undefined" &&
|
||||
typeof DataTransferItem.prototype.webkitGetAsEntry !== "undefined"
|
||||
) {
|
||||
this.$store.commit("showHover", "upload");
|
||||
} else {
|
||||
document.getElementById("upload-input").click();
|
||||
|
||||
Reference in new issue
Block a user