项目会无限编译
 
                                        
                                    
                                    - 发布:2021-09-28 10:51
- 更新:2021-09-28 11:22
- 阅读:625
产品分类: HbuilderX
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: win10
HBuilderX版本号: 3.2.9
示例代码:
                                    
                                    
                                         
                                
                                                                                                操作步骤:
                                    
                                        项目会无限编译
                                     
                                
                                                                                                项目会无限编译
预期结果:
                                    
                                    
                                        项目会无限编译
                                     
                                
                                                                                                项目会无限编译
实际结果:
                                    
                                    
                                        项目会无限编译
                                     
                                
                                                            项目会无限编译
bug描述:
10:47:59.309 WARNING: Module Warning (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js):  
10:47:59.314 (Emitted value instead of an instance of Error) <n-cell v-for="user in items">: component lists rendered with v-for should have explicit keys. See https://vuejs.org/guide/list.html#key for more info.  
10:47:59.318 Module Warning (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js):  
10:47:59.323 (Emitted value instead of an instance of Error) <yylp-cell v-for="radio in pitem.now_field.options">: component lists rendered with v-for should have explicit keys. See https://vuejs.org/guide/list.html#key for more info.  
10:47:59.329  DONE  Build complete. Watching for changes...  
10:47:59.333 项目 'les_chat' 编译成功。  
10:47:59.339 正在热重载...  
10:47:59.528 生成路由映射表-ok  
10:48:00.705 WARNING: Module Warning (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js):  
10:48:00.706 (Emitted value instead of an instance of Error) <n-cell v-for="user in items">: component lists rendered with v-for should have explicit keys. See https://vuejs.org/guide/list.html#key for more info.  
10:48:00.712 Module Warning (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js):  
10:48:00.718 (Emitted value instead of an instance of Error) <yylp-cell v-for="radio in pitem.now_field.options">: component lists rendered with v-for should have explicit keys. See https://vuejs.org/guide/list.html#key for more info.  
10:48:00.726  DONE  Build complete. Watching for changes...  
10:48:00.731 项目 'les_chat' 编译成功。  
10:48:00.732 正在热重载...  
10:48:00.739 生成路由映射表-ok  
10:48:01.389 WARNING: Module Warning (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js):  
10:48:01.390 (Emitted value instead of an instance of Error) <n-cell v-for="user in items">: component lists rendered with v-for should have explicit keys. See https://vuejs.org/guide/list.html#key for more info.  
10:48:01.397 Module Warning (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js):  
10:48:01.416 已停止运行... 
             
             
             
			 
            
1 个回复
神缘叔 (作者)
这个版本这段代码会无线热重载