4.12代码提交

This commit is contained in:
luoshiwen 2023-04-12 18:46:28 +08:00
parent a9e84d60b0
commit cb7869b4dc
1 changed files with 3 additions and 3 deletions

View File

@ -160,9 +160,9 @@ export default {
this.$refs.dome.contentWindow.selectHome(e.currentTarget.innerHTML);
},
handleBtn(e, i) {
console.log(this.$refs.drop1);
this.navLiState = !this.navLiState
if (this.index == i && this.navLiState) {
// console.log(this.$refs.drop1);
// this.navLiState = !this.navLiState
if (this.index == i ) {
this.index = null
if (i == 1) {
this.state = !this.state;