12 2021 档案
摘要:子组件使用父组件值,要改变使用用赋值方法,定义新变量: 定义新变量:copyTrendObj 此时copyTrendObj 可以被赋值 props: { trendObj: { type: Object, }, }, watch:{ 'trendObj':function(val) { this.c
阅读全文
摘要:resistanceRatio抵抗率。边缘抵抗力的大小比例。值越小抵抗越大越难将slide拖离边缘,0时完全无法拖离。 mounted: function() { let _this = this; setTimeout(function() { _this.myswiper = new Swipe
阅读全文