Showing
1 changed file
with
6 additions
and
3 deletions
| @@ -190,11 +190,14 @@ export struct ZhSingleColumn09 { | @@ -190,11 +190,14 @@ export struct ZhSingleColumn09 { | ||
| 190 | .onClick(() => { | 190 | .onClick(() => { |
| 191 | if (this.currentOperDataListIndex > 0) { | 191 | if (this.currentOperDataListIndex > 0) { |
| 192 | this.currentOperDataListIndex-- | 192 | this.currentOperDataListIndex-- |
| 193 | + } else { | ||
| 194 | + return | ||
| 193 | } | 195 | } |
| 194 | if (this.compDTO?.operDataList.length > 8) { | 196 | if (this.compDTO?.operDataList.length > 8) { |
| 195 | - if (this.pageModel) { | ||
| 196 | - this.pageModel.compList.deleteItem(this.compIndex) | ||
| 197 | - } | 197 | + this.operDataList = this.shuffleArray(this.operDataList) |
| 198 | + // if (this.pageModel) { | ||
| 199 | + // this.pageModel.compList.deleteItem(this.compIndex) | ||
| 200 | + // } | ||
| 198 | this.activeIndexs = []; | 201 | this.activeIndexs = []; |
| 199 | } | 202 | } |
| 200 | }) | 203 | }) |
-
Please register or login to post a comment