Обновление response0.62 столкнулось с этой проблемой, но не раньше.
utils.ts
export const compute = (() => {
function add() {
}
return {
add: add,
}
})()
Main. js
import * as Utils from './utils'
const { add } = Utils.compute // Cannot read property 'add' of undefined
Такая же ситуация
export default {
get,
getRealWindowHeight,
getRealWindowWidth,
getStatusBarHeight,
getSoftMenuBarHeight,
getSmartBarHeight,
isSoftMenuBarEnabled
}
Программа сообщает об ошибках сразу после запуска.