Commit 63c10468 authored by zhengke's avatar zhengke

列表查看详情切换模版优化

parent a615b3ca
......@@ -160,7 +160,7 @@ const CloseDetails = () => {
const ToggleImg = (text: String) => {
if(text=='left'){
props.TemCurrent
scrollContainer.value.scrollTop = 0
emit('previous')
// if(datas.currentImg>0) {
// datas.currentImg--
......@@ -168,6 +168,7 @@ const ToggleImg = (text: String) => {
// }
}
if(text=='right'){
scrollContainer.value.scrollTop = 0
emit('next')
// if(datas.currentImg<imgList.value.length-1) {
// datas.currentImg++
......
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