秃尾巴的猫
秃尾巴的猫
我是这样解决的 // enable infinite loading if (this.onInfinite) { this.infiniteTimer = setInterval(() => { let { left, top, zoom } = this.scroller.getValues() //避免页面一开始或者切换路由时执行 onInfinite 方法 if (this.content.offsetHeight > this.container.clientHeight) { if...
同样使用了keep-alive 我是这样记录滚动的 页面离开时 const data = this.$refs.giftScroll.getPosition() this.$store.commit('setScroll', data) this.$router.push({ name: 'gameDetails', params: {gameId: id} }) 页面返回时 activated() { if (this.scrollState) { setTimeout(() => { this.$refs.giftScroll.scrollTo(this.scrollState.left, this.scrollState.top, false) }, 30)...
@silverpeng 你将路由跳转绑定到click里去,别写在router-link里面,执行点击事件的时候记录位置
获取到的数据尽量别存当前组件,最好是存vuex或cookie之类的
@silverpeng vue路由的beforeEach钩子,或者vue的watch都可以监听到后退还是前进
#import "Orientation.h" It should be above #if DEBUG For example, ```sh #import "AppDelegate.h" #import #import #import #import "RNSplashScreen.h" #import #import #if DEBUG #import #import #import #import #import #import static void...
我无法重现你说的问题,可以提供详细一点的信息嘛
the [charting_library](https://tradingview.com/) file, please visit the official website of tradingview to get it
最近暂时没时间处理,你拷贝文件出来自己改就行了
主分支 demo 使用 tvadingview v20.033 (internal id 9df149da @ 2021-11-17T10:20:51.511Z)版本,[charting_library](https://tradingview.com/)文件请访问 tradingview 官网获取,如需使用或浏览旧版,请切换分支查看。