swan-custom-component>view>千万不要用下划线作为自定义组件名,百度小程序开发,网络投票系统,微信公众号投票,微信公众号小程序,抖音小程序,百度小程序,微信公众号开发,企业网站建设" /> swan-custom-component>view>千万不要用下划线作为自定义组件名,百度小程序开发,深山工作室提供网络投票系统、微信公众号投票、微信公众号小程序、抖音小程序、百度小程序、微信公众号开发、企业网站建设等相关网络程序定制开发。" />

久久久久成人免费看a含羞草久色_91福利资源站_好色综合网_久久久久国产精品一区二区三区_一级片免费看_久久久久国产精品久久久久

留言板

电脑留言板 手机留言板 微信留言板 多模板 自适应
我们提供企业留言板、留言信箱程序定制等服务
留言板留言板V7.22
免费无限制开源多样式自适应手机版
立即免费下载
更新于 09月30日
赞助打赏深山
让免费服务走的更远

百度小程序开发第一坑tcomponent自定义组件命名坑Compile san component failed. . [SAN ERROR] ROOT>swan-custom-component>view>千万不要用下划线作为自定义组件名

在给组件命名的时候我们大多数的时候命名字母全小写且包含一个连字符,但是有的时候我们也是用单词首字母大写的方式实现的组件命名
如果当我们需要将组件渲染到dom上的时候强烈建议使用全部字母小写且有连接符连接的命名
在html中是大小写不敏感的,使用全小写且连接符连接会帮助我们与当前或者未来的元素冲突
百度自定义组件名不能用下划线


正确示例

"navigationBarTitleText": "智能小程序示例",
"usingComponents": {
"qwbmlist": "/components/searchInput/qwbmlist",
"qwbm-list": "/components/searchList/qwbmlist",
"qwbm_list": "/components/searchList/qwbmlist", //这行就是有问题的,因为用一下划线
}
注意:组件的文件名可以用驼峰命名,但不能用中划线
注意:组件名只能是全小写加中划线,不能用驼峰命名和下划线

index 页面引入
<qwbmlist></qwbmlist>
<qwbm-list></qwbm-list>
<qwbm_list></qwbm_list>    //这行就是有问题的,因为用一下划线


百度小程序开发第一坑tcomponent自定义组件命名坑Compile san component failed. . [SAN ERROR] ROOT swan-custom-component view 千万不要用下划线作为自定义组件名


Compile san component failed.
[SAN ERROR] ROOT>swan-custom-component>view>qwbm's close tag has attributes
Error: Compile san component failed.
[SAN ERROR] ROOT>swan-custom-component>view>qwbm's close tag has attributes
at X (file:///C:/Users/Administrator/AppData/Roaming/%E7%99%BE%E5%BA%A6%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7/cli/vendor/swan-core/3.300.10/slaves/index.js:1:49332)
at Object.Ye [as parseComponentTemplate] (file:///C:/Users/Administrator/AppData/Roaming/%E7%99%BE%E5%BA%A6%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7/cli/vendor/swan-core/3.300.10/slaves/index.js:1:72922)
at V (file:///C:/Users/Administrator/AppData/Roaming/%E7%99%BE%E5%BA%A6%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7/cli/vendor/swan-core/3.300.10/slaves/index.js:1:382573)
at B (file:///C:/Users/Administrator/AppData/Roaming/%E7%99%BE%E5%BA%A6%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7/cli/vendor/swan-core/3.300.10/slaves/index.js:1:382868)
at U (file:///C:/Users/Administrator/AppData/Roaming/%E7%99%BE%E5%BA%A6%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7/cli/vendor/swan-core/3.300.10/slaves/index.js:1:382979)
at p (file:///C:/Users/Administrator/AppData/Roaming/%E7%99%BE%E5%BA%A6%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7/cli/vendor/swan-core/3.300.10/slaves/index.js:1:830845)
at file:///C:/Users/Administrator/AppData/Roaming/%E7%99%BE%E5%BA%A6%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7/cli/vendor/swan-core/3.300.10/slaves/index.js:1:831663
at a.getComponentType (file:///C:/Users/Administrator/AppData/Roaming/%E7%99%BE%E5%BA%A6%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7/cli/vendor/swan-core/3.300.10/slaves/index.js:1:831922)
at ke (file:///C:/Users/Administrator/AppData/Roaming/%E7%99%BE%E5%BA%A6%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7/cli/vendor/swan-core/3.300.10/slaves/index.js:1:60743)
at a.<anonymous> (file:///C:/Users/Administrator/AppData/Roaming/%E7%99%BE%E5%BA%A6%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7/cli/vendor/swan-core/3.300.10/slaves/index.js:1:80346)
at a.attach (D:\Program Files\swan-ide-gui\resources\app\build-3.33.1\app.asar\node_modules\@ecomfe\san-devhook\dist\san_devhook.js:2019:27)
at e.value (file:///C:/Users/Administrator/AppData/Roaming/%E7%99%BE%E5%BA%A6%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7/cli/vendor/swan-core/3.300.10/slaves/index.js:1:718106)
at e.value (file:///C:/Users/Administrator/AppData/Roaming/%E7%99%BE%E5%BA%A6%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7/cli/vendor/swan-core/3.300.10/slaves/index.js:1:715675)
at file:///C:/Users/Administrator/AppData/Roaming/%E7%99%BE%E5%BA%A6%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7/cli/vendor/swan-core/3.300.10/slaves/index.js:1:712413
at file:///C:/Users/Administrator/AppData/Roaming/%E7%99%BE%E5%BA%A6%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7/cli/vendor/swan-core/3.300.10/slaves/index.js:1:341978
at Array.forEach (<anonymous>)
ext msg: {}
(anonymous) @ D:\Program Files\swan-ide-gui\resources\app\build-3.33.1\app.asar\dist\extensions\simulator\src\webview\preloads\master\events.js:1
(anonymous) @ D:\Program Files\swan-ide-gui\resources\app\build-3.33.1\app.asar\dist\src\services\event\renderer\event-map.js:1
emit @ events.js:203
onMessage @ electron/js2c/renderer_init.js:2422
D:\Program Files\swan-ide-gui\resources\app\build-3.33.1\app.asar\dist\extensions\simulator\src\webview\preloads\master\events.js:1

error from page:

D:\Program Files\swan-ide-gui\resources\app\build-3.33.1\app.asar\dist\extensions\simulator\src\webview\preloads\master\events.js:1 Slave attached error in _transitPageAttach function.
Cannot read property 'tagName' of undefined
TypeError: Slave attached error in _transitPageAttach function.
Cannot read property 'tagName' of undefined
at U (file:///C:/Users/Administrator/AppData/Roaming/%E7%99%BE%E5%BA%A6%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7/cli/vendor/swan-core/3.300.10/slaves/index.js:1:383202)
at p (file:///C:/Users/Administrator/AppData/Roaming/%E7%99%BE%E5%BA%A6%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7/cli/vendor/swan-core/3.300.10/slaves/index.js:1:830845)
at file:///C:/Users/Administrator/AppData/Roaming/%E7%99%BE%E5%BA%A6%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7/cli/vendor/swan-core/3.300.10/slaves/index.js:1:831663
at a.getComponentType (file:///C:/Users/Administrator/AppData/Roaming/%E7%99%BE%E5%BA%A6%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7/cli/vendor/swan-core/3.300.10/slaves/index.js:1:831922)
at ke (file:///C:/Users/Administrator/AppData/Roaming/%E7%99%BE%E5%BA%A6%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7/cli/vendor/swan-core/3.300.10/slaves/index.js:1:60743)
at a.<anonymous> (file:///C:/Users/Administrator/AppData/Roaming/%E7%99%BE%E5%BA%A6%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7/cli/vendor/swan-core/3.300.10/slaves/index.js:1:80346)
at a.attach (D:\Program Files\swan-ide-gui\resources\app\build-3.33.1\app.asar\node_modules\@ecomfe\san-devhook\dist\san_devhook.js:2019:27)
at e.value (file:///C:/Users/Administrator/AppData/Roaming/%E7%99%BE%E5%BA%A6%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7/cli/vendor/swan-core/3.300.10/slaves/index.js:1:718106)
at e.value (file:///C:/Users/Administrator/AppData/Roaming/%E7%99%BE%E5%BA%A6%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7/cli/vendor/swan-core/3.300.10/slaves/index.js:1:715675)
at file:///C:/Users/Administrator/AppData/Roaming/%E7%99%BE%E5%BA%A6%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7/cli/vendor/swan-core/3.300.10/slaves/index.js:1:712413
at file:///C:/Users/Administrator/AppData/Roaming/%E7%99%BE%E5%BA%A6%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7/cli/vendor/swan-core/3.300.10/slaves/index.js:1:341978
at Array.forEach (<anonymous>)
at HTMLDocument.<anonymous> (file:///C:/Users/Administrator/AppData/Roaming/%E7%99%BE%E5%BA%A6%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7/cli/vendor/swan-core/3.300.10/slaves/index.js:1:341958)
at D:\Program Files\swan-ide-gui\resources\app\build-3.33.1\app.asar\dist\extensions\simulator-swan-api\src\webview\utils\message.js:1:279
at D:\Program Files\swan-ide-gui\resources\app\build-3.33.1\app.asar\dist\extensions\simulator-swan-api\src\webview\slave\index.js:1:1111
at EventEmitter.<anonymous> (D:\Program Files\swan-ide-gui\resources\app\build-3.33.1\app.asar\dist\src\services\event\renderer\event-map.js:1:1116)
ext msg: {"isWhiteScreen":true}
前一页:暂时没有数据
扫描查看手机留言板效果
留言板演示下载留言板程序
点击在线咨询
手机 13961347334
Q Q 565449214
邮箱 565449214@qq.com
主站蜘蛛池模板: 亚洲精品另类 | 欧美做受又硬又粗又大视频 | 太平公主三级dvd | 国产成人av无码精品 | 天天狠狠操 | 爱爱毛片 | 欧美怡春院一区二区三区 | 色欲一区二区三区精品a片 色欲欲www成人网站 | 成人国产精品一级毛片视频 | 欧美一级棒 | 午夜免费影视 | 日本怡春院一区二区三区 | 国产精品高清在线 | 国产一级久久久久久毛片 | 波多野结衣乳巨码无在线 | 午夜高清影院 | 综合激情网 | 4hu四虎| 亚洲国产精品综合久久网各 | 日本三级理论久久人妻电影 | 99精品久久| 精品亚洲一区二区三区在线观看 | 久久国产精品一国产精品 | 91小视频在线观看 | 成人免费一级在线播放 | 天堂av2017男人的天堂 | 无码中文人妻在线一区二区三区 | 2021国产成人综合亚洲精品 | 亚洲国产精品成人精品小说 | 青青草国产在线视频 | 亚洲国产美女精品久久久久 | 欧美一区二区三区免费视频 | 色偷偷人人澡人人爽人人模 | 欧美人与禽zozzo性伦交 | 岛国无码av不卡一区二区 | 国内精品久久久久丫网址 | 在线视免费频观看韩国aaa | 欧美综合图区亚洲综合图区69 | yellow视频在线免费观看 | 麻豆免费视频 | 亚洲欧美另类综合 |