APP启动报错处理, APP加密处理,APP首页兼容处理
This commit is contained in:
@@ -47,13 +47,17 @@ export function useColumnCount(onChange = () => {}) {
|
||||
columnCount.value = 2
|
||||
calcColumn()
|
||||
// if (process.client) {
|
||||
// #ifdef H5
|
||||
window.addEventListener('resize', calcColumn)
|
||||
// #endif
|
||||
// }
|
||||
})
|
||||
|
||||
onUnmounted(() => {
|
||||
// if (process.client) {
|
||||
// #ifdef H5
|
||||
window.removeEventListener('resize', calcColumn)
|
||||
// #endif
|
||||
// }
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user