12 2021 档案

摘要:子组件使用父组件值,要改变使用用赋值方法,定义新变量: 定义新变量:copyTrendObj 此时copyTrendObj 可以被赋值 props: { trendObj: { type: Object, }, }, watch:{ 'trendObj':function(val) { this.c 阅读全文
posted @ 2021-12-27 17:53 YJUI 阅读(757) 评论(0) 推荐(0) 编辑
摘要:resistanceRatio抵抗率。边缘抵抗力的大小比例。值越小抵抗越大越难将slide拖离边缘,0时完全无法拖离。 mounted: function() { let _this = this; setTimeout(function() { _this.myswiper = new Swipe 阅读全文
posted @ 2021-12-01 14:57 YJUI 阅读(2219) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示