升级uni-ui到最新版本1.4.27

This commit is contained in:
RuoYi
2023-07-12 09:42:10 +08:00
parent 296b15acbe
commit c27a8aa129
70 changed files with 1900 additions and 1578 deletions

View File

@@ -36,7 +36,7 @@ otherMixins = {
},
mounted() {
this.swipeaction = this.getSwipeAction()
if (this.swipeaction.children !== undefined) {
if (this.swipeaction && Array.isArray(this.swipeaction.children)) {
this.swipeaction.children.push(this)
}
this.init()
@@ -53,8 +53,9 @@ otherMixins = {
},
closeSwipe(e) {
if (!this.autoClose) return
this.swipeaction.closeOther(this)
if (this.autoClose && this.swipeaction) {
this.swipeaction.closeOther(this)
}
},
appTouchStart(e) {
const {
@@ -256,4 +257,4 @@ otherMixins = {
// #endif
export default otherMixins
export default otherMixins