router跳转 在最下方/router的滚动行为
在tenplate的根组件下设置ref watch: { KaTeX parse error: Expected '}', got 'EOF' at end of input: …; this.nextTick(() => { this.$refs.ddd.scrollTo(0, 0); }); console.log(val.path); }, // 深度观察监听 deep: true, }, },
在tenplate的根组件下设置ref watch: { KaTeX parse error: Expected '}', got 'EOF' at end of input: …; this.nextTick(() => { this.$refs.ddd.scrollTo(0, 0); }); console.log(val.path); }, // 深度观察监听 deep: true, }, },
共有 0 条评论