- 博客(8)
- 收藏
- 关注
原创 uni-app运行到微信小程序报错[ pages/index/index.json 文件内容错误] pages/index/index.json: [“usingComponents“][“u-nav
uni-app运行到微信小程序时报错:“[ pages/index/index.json 文件内容错误] pages/index/index.json: [“usingComponents”][“u-navbar”] 未找到”这是由于引用了第三方UI库,比如uview,pages.json配置easycom规则(按需引入),使用了npm安装方式,但微信开发者工具没有构建npm,可以改下下载方式// pages.json{ "easycom": { // 下载安装的方式需要前面
2021-09-09 17:07:41
6767
1
原创 返回上一个页面 带参数返回
当前页面 selectGoods(item){ let _this=this; let pages=getCurrentPages(); let currentPages=pages[pages.length-2];//上一页 currentPages.$vm.id = item.id; uni.navigateBack({ delta: 2 }); },上一页:在onShow中获取跳转页传过来的参数var pages = getCurrentPa
2021-06-04 16:35:57
1106
原创 Vue实现6位数密码效果
template内容css实现 .num-list { position: relative; display: flex; justify-content: center; align-items: center; padding-left: 24upx; .num { width: 84rpx; height: 84rpx; background: #f1f1f1; margin-right: 12px;
2021-05-21 11:26:09
686
原创 unaipp项目编译报错Module build failed (from ./node_modules/postcss-loader/src/index.js):
解决方法HBuild创建的uni-app项目,代码生成时没有style的语言,我添加了lang=“less” 或者 lang=“sass” 就ok。
2021-05-15 16:30:42
2298
原创 项目中运行npm run dev后提示for funding run `npm fund` for...的解决方法
项目中运行npm run dev后提示for funding run `npm fund` for...的解决方法更新了依赖,更新完之后,运行npm:命令行为:npm i(等同于 npm install)运行后提示如下信息:89 packages are looking for fundingrun npm fund for detailsfound 12 vulnerabilities (7 low, 4 moderate, 1 high)run npm audit fix to fi
2021-03-18 23:08:12
7652
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人