Commit 0d5940d4 authored by zhengke's avatar zhengke

修改

parent db4fdd81
......@@ -149,11 +149,11 @@
watch(() => [...props.paperData], (val) => {
data.dataList = [...data.dataList, ...val];
})
watch(()=>props.StartIndex,(val)=>{
if(val>-1){
data.current=val;
}
})
// watch(()=>props.StartIndex,(val)=>{
// if(val>-1){
// data.current=val;
// }
// })
watch(()=>data.current, (newVal, oldValue) => {
innerAudioContext.stop();
data.isPlay=false;
......
......@@ -144,11 +144,11 @@
})
data.dataList = [...data.dataList, ...val];
})
watch(()=>props.StartIndex,(val)=>{
if(val>-1){
data.current=val;
}
})
// watch(()=>props.StartIndex,(val)=>{
// if(val>-1){
// data.current=val;
// }
// })
let methods = {
stopTouchMove(){
return true
......
<template>
<!-- 单选题 -->
<view>
<view class="modal">
<view class="item" style="padding: 0 20px">
<van-nav-bar fixed>
<template #left>
......@@ -102,11 +102,11 @@
watch(() => [...props.paperData], (val) => {
data.dataList = [...data.dataList, ...val];
})
watch(()=>props.StartIndex,(val)=>{
if(val>-1){
data.current=val;
}
})
// watch(()=>props.StartIndex,(val)=>{
// if(val>-1){
// data.current=val;
// }
// })
let methods = {
goBack() {
uni.navigateBack();
......
......@@ -171,7 +171,6 @@
};
},
onLoad(options) {
console.log(options, 'options');
if (options && options.Type) {
this.Type = options.Type;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment