@@ -721,7 +721,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
isFile(str) {
|
||||
return !!~str.indexOf('❄❅❆❇❈❉❊')
|
||||
return str && Object.prototype.toString.call(str) === "[object String]" && !!~str.indexOf('❄❅❆❇❈❉❊')
|
||||
},
|
||||
async download(str) {
|
||||
str = str.replace("❄❅❆❇❈❉❊", '')
|
||||
|
||||
Reference in New Issue
Block a user