- 博客(122)
- 收藏
- 关注
原创 Avoid mutating a prop directly since the value will be overwritten whenever the parent component re
在data定义一个新数据,在watch去监听父传过来的值,然后新数据等于父传过来的值。出现这个问题是子组件更改了数据没在data定义然后又传回个父组件导致的。
2023-08-03 16:18:33
327
原创 请在应用内提供拒绝、关闭定向推送的功能选项,功能选项名称请使用显著区分定向推送服务的字样,如 “个性化推荐关闭按钮“、 “猜你喜欢设置“;或者删除应用内定向推送/广告精准营销功能且应用内栏目、模块等不
求助:uniapp打包的app提交到华为应用商城审核驳回原因
2023-04-26 11:11:16
758
1
原创 uni.createSelectorQuery().in(this).select(‘#scroll‘).boundingClientRect获取不到元素高度问题
uniapp滚动底部获取不到高度原因
2023-03-10 18:20:43
1942
原创 chunk-vendors.js:2462 [Vue warn]: Error in event handler for “service.requestComponentInfo“:
chunk-vendors.js:2462 [Vue warn]: Error in event handler for "service.requestComponentInfo": "TypeError: Cannot read properties of undefined (reading 'matches')"
2023-03-10 16:36:22
946
原创 解决uniapp使用uView框架里u-popup组件后,一个盒子内容超出屏幕真机滚动不了问题,模拟器可以滚动。
使用u-popup内容超出滚动不了问题
2022-10-11 17:33:01
5014
1
原创 解决uniapp的 swiper 组件的随着指示点添加背景宽度不随着内容添加而自动扩大问题,而是溢出。
uniapp的 swiper 组件的指示点
2022-09-30 11:12:39
366
原创 uniapp跳转传对象和数组的值到另一个页面
Error in onLoad hook: "SyntaxError: "[object Object]" is not valid JSON"
2022-09-02 10:16:17
1172
1
原创 uniapp-A页面跳到B页面,B页面改完(C数据),通过uni.navigateBack()返回(C数据)传给A页面接收,进行更改A页面(C数据)的值-不是通过请求或刷新获取(C数据)更改的值
this.getOpenerEventChannel().emitevents
2022-07-08 15:42:06
787
原创 message:Error: common/vendor.js: file: common/vendor.js Unexpected token: punc ()) 1265 |
message:Error: common/vendor.js: file: common/vendor.js Unexpected token: punc ()) 1265 |
2022-07-07 09:32:26
3021
4
原创 前端uniapp自定义tabbar,在iPoneX上,tabbar有个盒子用了绝对定位position: absolute被遮住问题,env(safe-area-inset-bottom)无效
env(safe-area-inset-bottom)无效
2022-06-08 15:22:10
1489
原创 VM1281:5 app.js错误: ReferenceError: regeneratorRuntime is not defined
VM1281:5 app.js错误: ReferenceError: regeneratorRuntime is not defined
2022-06-07 10:39:48
506
原创 VM19633 WAService.js:2 Unhandled promise rejection {errMsg: “reLaunch:fail page “pages/store/“/pages
从A页面跳转B页面传给A页面路径给B页面用报这样的错误跳转传值时是路径就不需要加双引号了“”,去掉就可以了
2022-05-31 17:17:10
1609
原创 解决前端搜索框的输入框点击后整个盒子偏左问题
未改之前代码改之后的代码,因为是input的width设置了100%,=所以可以设置包裹input输入框那个盒子width设置80%也可以去掉input输入框width100%个人觉得还是保留输入框width100%比较好,毕竟没设宽度不知后面什么机型又出现其他问题...
2022-05-30 10:40:04
391
原创 解决uniapp用了uni.getSystemInfo获取状态栏高度在app上获取不到问题
出现的情况刚开始写法 是用了 uni.getSystemInfo({ success:(e)=> { this.statusBarHeight = e.statusBarHeight; } })<template> <view class="main" :style="{marginTop:statusBarHeight+'px'}"&...
2022-05-27 14:28:41
4560
原创 uniapp用了navigator标签css设置了display: flex;android出现塌陷问题
改前的改后的-需要在外面加个盒子包着navigator就可以了 <view class="icon-boxs"> <view class="title">服务台</view> <view class="icons"> <view class="icon-item"> <navigator class="icon-box-items">11</navigator> .
2022-05-25 15:33:03
531
原创 前端element ui去除表单输入框聚焦有记忆功能提示和去除记忆回填功能
<el-input v-model="form.name"type="text" ref="name"name="name" autocomplete="off"@key.enter.native="inputFocus($event)"></el-input>//在methods写inputFocus(e){ e.target.focus();//聚焦this.$refs.name.activated = true e.target.blur(); //让输入框失.
2022-05-24 09:53:43
1235
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人