引入组件后,h5可以正常显示,但是打包后不显示
原代码如下
components: {
cityCode: () => import("@/components/cityList/cityCode.vue"),
},
修改后可以正常显示
import cityCode from "@/components/cityList/cityCode.vue"
………
components: {
cityCode
},
引入组件后,h5可以正常显示,但是打包后不显示
原代码如下
components: {
cityCode: () => import("@/components/cityList/cityCode.vue"),
},
修改后可以正常显示
import cityCode from "@/components/cityList/cityCode.vue"
………
components: {
cityCode
},