mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-12-20 02:47:30 +08:00
弃用lodash
This commit is contained in:
@@ -49,7 +49,8 @@ export default {
|
||||
computed: {
|
||||
isPlatformSupported() {
|
||||
let { platform } = this.commandInfo.features;
|
||||
return !_.isEmpty(platform) && !platform.includes(window.processPlatform)
|
||||
return !window.lodashM.isEmpty(platform) &&
|
||||
!platform.includes(window.processPlatform)
|
||||
? false
|
||||
: true;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user