|
@@ -43,7 +43,6 @@
|
|
|
import { selectClassStudent } from '@/api/eva'
|
|
|
import { selectSerStudent } from '@/api/eva'
|
|
|
import { select_techerAllClass } from '@/api/eva'
|
|
|
-import BScroll from '@better-scroll/core'
|
|
|
// import classList from './components/classList.vue'
|
|
|
// 多选框组件
|
|
|
// import selects from './components/selects.vue'
|
|
@@ -133,14 +132,17 @@ export default {
|
|
|
})
|
|
|
}
|
|
|
},
|
|
|
- mounted() {
|
|
|
- this.$nextTick(() => {
|
|
|
- this.scorllTaps = new BScroll(this.$refs['tabs'], {
|
|
|
- scrollX: false,
|
|
|
- eventPassthrough: 'vertical' // 允许纵向滚动穿透
|
|
|
- })
|
|
|
- })
|
|
|
+ beforeRouteEnter(to, from, next) {
|
|
|
+ document.addEventListener(
|
|
|
+ 'touchmove',
|
|
|
+ function(event) {
|
|
|
+ event.preventDefault()
|
|
|
+ },
|
|
|
+ false
|
|
|
+ )
|
|
|
+ next(vm => {})
|
|
|
},
|
|
|
+ mounted() {},
|
|
|
created() {
|
|
|
this.getData()
|
|
|
console.log('state', this.$store.state)
|