Property or method "$u" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property.
修改前
import uView from '@/uni_modules/uview-ui'
修改后
添加 Vue.use(uView) 就可以正常运行了。
import uView from '@/uni_modules/uview-ui'
Vue.use(uView)