📅  最后修改于: 2022-03-11 15:00:12.195000             🧑  作者: Mango
workbox.addEventListener("message", (m) => {
if (_this.$route.query.hasOwnProperty("receiving-file-share")) {
let files = m.data.file;
_this.$refs.filehandler.processFileList(files, true);
}
});
workbox.messageSW("SHARE_READY");