Commit 5d2aae9e by 胡悦

提交

1 parent cf8c0a3b
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2024-05-30 14:40:39 * @Date: 2024-05-30 14:40:39
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2024-06-04 17:02:09 * @LastEditTime: 2024-06-05 14:27:27
--> -->
<template> <template>
<view style="position: relative"> <view style="position: relative">
...@@ -189,6 +189,7 @@ export default { ...@@ -189,6 +189,7 @@ export default {
}, },
methods: { methods: {
changeIndex(index, name) { changeIndex(index, name) {
if (this[name] == index) return // 点击同一个
this.direction = '' this.direction = ''
console.log(index, name, this[name]) console.log(index, name, this[name])
if (this[name] < index) { if (this[name] < index) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!