组件引用微信开发者工具电脑端可以编译成功,真机调试后提示找不到路径,什么问题?

小程序 文章 2021-03-17 19:41 420 0 全屏看文

AI助手支持GPT4.0

组件引用微信开发者工具电脑端可以编译成功,真机调试后提示找不到路径,什么问题?The component can be compiled successfully by using the WeChat developer tool on the computer, but the path cannot be found after debugging on the real machine. What's the problem?

组件引用微信开发者工具电脑端可以编译成功,真机调试后提示找不到路径,什么问题?

index引用的组件可以正常显示出来 而这个弹窗组件内的调色板又是另一个组件

这是弹窗组件的引用调色板组件

电脑可以编译成功 换到手机端去真机调试的时候会有这样的提示 手机扫码后真机调试窗口说找不到组件路径 可是组件路径在电脑配好了 而且电脑运行没有问题 到真机调试提示出错 希望技术人员可以解答 第一次发帖求助 谢谢!

The component referenced by index can be displayed normally, and the palette in the pop-up component is another component. This is the reference palette of the pop-up component. The computer can compile the component successfully and switch it to the mobile phone. When debugging on the real machine, there will be such a prompt. After the mobile phone scans the code, the real machine debugging window says that the component path cannot be found, but the component path is configured on the computer And the computer running no problem to the real machine debugging prompt error, hope technical personnel can answer the first post for help, thank you!

回答:

polaris:

你好,使用的调色板组件是否有声明是一个组件(component:true)?

丘山💕:想好好的玩这个游戏
不知好歹:

真机调试功能经常有BUG

-EOF-

AI助手支持GPT4.0