jsEnginScriptError:Component is not found, 自定义组件?
[代码]Component({[代码][代码] [代码][代码]/**[代码][代码] [代码][代码]* 组件的属性列表[代码][代码] [代码][代码]*/[代码][代码] [代码][代码]properties: {[代码][代码] [代码][代码]show: { type: [代码][代码]Boolean[代码][代码], value: [代码][代码]false[代码] [代码]},[代码][代码] [代码][代码]con: { type: [代码][代码]String[代码][代码], value: [代码][代码]'cs'[代码] [代码]}[代码][代码] [代码][代码]},[代码] [代码] [代码][代码]/**[代码][代码] [代码][代码]* 组件的初始数据[代码][代码] [代码][代码]*/[代码][代码] [代码][代码]ready() {[代码][代码] [代码][代码]},[代码][代码] [代码][代码]/**[代码][代码] [代码][代码]* 组件的方法列表[代码][代码] [代码][代码]*/[代码][代码] [代码][代码]methods: {[代码][代码] [代码][代码] [代码][代码]computedCon() {[代码][代码] [代码][代码] [代码][代码]},[代码][代码] [代码][代码]/**[代码][代码] [代码][代码]* 切换隐藏展示[代码][代码] [代码][代码]*/[代码][代码] [代码][代码]toggleShow() {[代码][代码] [代码][代码]this[代码][代码].setData({[代码][代码] [代码][代码]show: ![代码][代码]this[代码][代码].data.show[代码][代码] [代码][代码]})[代码][代码] [代码][代码]},[代码][代码] [代码][代码]/**[代码][代码] [代码][代码]* 提交[代码][代码] [代码][代码]*/[代码][代码] [代码][代码]confirm() {[代码][代码] [代码][代码]let that = [代码][代码]this[代码][代码];[代码][代码] [代码][代码]this[代码][代码].setData({[代码][代码] [代码][代码]show: [代码][代码]false[代码][代码] [代码][代码]})[代码][代码] [代码][代码]}[代码][代码] [代码][代码]}[代码][代码]})[代码]开发者工具没问题,真机调试页面问题, 基础库也调了, 就是报错 快点来人呀, 线上一直报错, 你说要报错就早报出来 引用的地方 [代码]"comment"[代码][代码]:[代码][代码]"../common/comment/index"[代码][代码],[代码][代码] [代码][代码]"voteRule"[代码][代码]:[代码][代码]"../common/messageBox/messageBox"[代码]