- 博客(9)
- 收藏
- 关注
原创 小程序跳转传值并渲染到页面上
小程序跳转传值并渲染到页面上使用的是 navigator 直接跳转传值在index页面上<view class="btn-area"> <navigator url="../item/item?title=我是无敌小钢炮">来呀,点我</navigator> <navigator url="../item/item?title=我是无敌大钢炮">我赌你不敢点我</navigator> </view>在it
2021-06-08 14:55:48
446
原创 uni-app跳转传值并渲染在页面上
uni-app跳转传值并渲染在页面上首先用标签 navigator 直接跳转传值在index页面<view class="text-area"> <navigator url="../item/index?title=爱奇艺会员&index=688元">购买1</navigator> </view> <view class="text-area"> <navigator url="../item/index
2021-06-08 14:46:14
901
原创 vueelement el-radio单选框点击切换显示隐藏
vueelement el-radio单选框点击切换显示隐藏 <el-row> <el-col :span="10"> <el-form-item label="是否通过认证:" :label-width="formLabelWidth" prop="isPass"> <el-radio-group v-model="form.isPass"> <
2021-05-19 10:52:41
3894
3
原创 vueTab栏切换
vueTab栏切换<template> <div class="Materials_cn"> <div class="curriculum" v-for="(item, index) in getAllAttachment" :key="index" > <!-- tab栏 --> <div class="curriculum_item"> <d
2021-03-22 16:03:47
217
原创 Error in render: “TypeError: Cannot read property ‘classId‘ of undefined“报错
Error in render: "TypeError: Cannot read property ‘classId’ of undefined"的报错,虽然功能正常使用,但是控制台还是报这个错误。解决方法因为是异步请求,页面渲染刚的时候还没有拿到这个值,所以会报错。你需要在节点上用if判断一下,在有数据的时候再进行渲染。undefined的报错,就讲到这里,希望能帮到大家。...
2021-03-02 14:26:07
543
原创 git克隆报错:error: RPC failed; curl 18 transfer closed with outstanding read data remaining
git克隆报错:error: RPC failed; curl 18 transfer closed with outstanding read data remaining错误:RPC失败;curl 58传输关闭,剩余未读数据此错误是因为在通过HTTP协议克隆(curl命令)时出错。并且,您应该增加缓冲区大小,执行以下命令git config --global http.postBuffer 524288000如果还出现以上错误,可能是因为文件过大或者过多而造成。所以需要执行两个步骤:一.
2021-01-19 14:38:14
308
原创 angular报错:Property ‘selectedHe‘ has no initializer and is not definitely assigned in the constructor
或者这个报错:Refused to load the image’http://localhost:4200/favicon.ico’ because it violates the following Content Security Policy directive: “default-src ‘none’”. Note that ‘img-src’ was not explicitly set, so ‘default-src’ is used as a fallback.在报错地方如上图:加上感
2021-01-13 16:52:40
1850
4
原创 小程序原生写假数据渲染订单页+tab栏切换
小程序原生写假数据渲染订单页+tab栏切换html结构在这里插入代码片```<!--pages/index/index.wxml--><!-- tab栏 --><view class="swiper-tab"> <block wx:for="{{swipertab}}" wx:key="sptab"> <view class="swiper-tab-list {{currtab == item.index ? 'on' : ''
2021-01-13 14:33:19
256
原创 微信小程序报错:Cannot read property ‘forceUpdate‘ of undefined
**微信小程序报错:Cannot read property ‘forceUpdate‘ of undefinedCannot read property ‘forceUpdate‘ of undefined**以下的报错是用HBuilder X 运行微信小程序有时出现的报错,虽然这个报错不影响开发功能,但是看得很烦,尤其对于我这种有点强迫症人来说这种报错有两种解决方法1.用微信开发工具创建项目时用测试号,即可避免。注:如果你开发项目中需要开发授权登录和支付这些功能就需要AppID进行测试,而测试
2020-12-03 10:08:26
1375
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人