mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-15 05:12:49 +00:00
fix: 文件页移动端滑动返回失败情况
This commit is contained in:
parent
22324f4c16
commit
c5879e4376
@ -133,11 +133,14 @@ export default {
|
|||||||
}
|
}
|
||||||
// 微应用
|
// 微应用
|
||||||
let microAppIsVisible = false;
|
let microAppIsVisible = false;
|
||||||
microApp.setGlobalData({ type:'modalVisible', callback: (appName, isVisible) => {
|
microApp.setGlobalData({
|
||||||
|
type: 'modalVisible',
|
||||||
|
callback: (appName, isVisible) => {
|
||||||
if (isVisible) {
|
if (isVisible) {
|
||||||
microAppIsVisible = true;
|
microAppIsVisible = true;
|
||||||
}
|
}
|
||||||
}})
|
}
|
||||||
|
})
|
||||||
if (microAppIsVisible) {
|
if (microAppIsVisible) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -165,6 +168,7 @@ export default {
|
|||||||
if (this.$Modal.removeLast()) {
|
if (this.$Modal.removeLast()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (this.routeName === 'manage-file') {
|
||||||
if (this.fileFolderId > 0) {
|
if (this.fileFolderId > 0) {
|
||||||
const file = this.fileLists.find(({id, permission}) => id == this.fileFolderId && permission > -1)
|
const file = this.fileLists.find(({id, permission}) => id == this.fileFolderId && permission > -1)
|
||||||
if (file) {
|
if (file) {
|
||||||
@ -177,6 +181,9 @@ export default {
|
|||||||
this.goForward({name: 'manage-file'});
|
this.goForward({name: 'manage-file'});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
this.goForward({name: 'manage-application'}, true);
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (this.routeName === 'manage-messenger') {
|
if (this.routeName === 'manage-messenger') {
|
||||||
if (this.$route.params.dialogAction === 'contacts') {
|
if (this.$route.params.dialogAction === 'contacts') {
|
||||||
if (this.messengerSearchKey.contacts) {
|
if (this.messengerSearchKey.contacts) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user