【重命名】重命名最顶级文件

This commit is contained in:
zer0Black
2021-03-11 09:40:16 +08:00
parent 684543524b
commit 9dc75e5961
452 changed files with 4 additions and 12073 deletions
+23
View File
@@ -0,0 +1,23 @@
import enquireJs from 'enquire.js'
const enquireScreen = function (call) {
// tablet
const handler = {
match: function () {
call && call(0)
},
unmatch: function () {
call && call(-1)
}
}
// mobile
const handler2 = {
match: () => {
call && call(1)
}
}
enquireJs.register('screen and (max-width: 1087.99px)', handler)
enquireJs.register('screen and (max-width: 767.99px)', handler2)
}
export default enquireScreen