前言
mpvue做小程序保存編譯報錯:
WXMLRT_$gwx:./components/FormButton.vue.wxml:template:2:330:
Template `data-v-2e0e74f0-default-7` not found.
原因
因爲緩存原因,導致自己項目代碼與小程序編譯代碼不一致報錯。
解決方法
刪除dist/wx 下目錄文件,重新編譯即可
mpvue做小程序保存編譯報錯:
WXMLRT_$gwx:./components/FormButton.vue.wxml:template:2:330:
Template `data-v-2e0e74f0-default-7` not found.
因爲緩存原因,導致自己項目代碼與小程序編譯代碼不一致報錯。
刪除dist/wx 下目錄文件,重新編譯即可
onLoad(options) { this.page_query = options; }, onShow() { const _this = this; wx.page