no message

This commit is contained in:
kuaifan 2025-05-06 16:13:09 +08:00
parent 9abdafb905
commit 3a337940d1
4 changed files with 27 additions and 46 deletions

View File

@ -103,39 +103,47 @@ export default {
]),
appData() {
const {initialData} = this.appConfig;
return {
vues: {
instance: {
Vue,
store,
components: {
DialogWrapper,
UserSelect,
DatePicker
DatePicker,
},
options: {
shortcuts: $A.timeOptionShortcuts(),
}
},
datas: {
...this.appConfig.initialData,
initialData: {
...initialData,
systemInfo: window.systemInfo,
isEEUiApp: $A.isEEUiApp,
isElectron: $A.isElectron,
isMainElectron: $A.isMainElectron,
isSubElectron: $A.isSubElectron,
// theme: this.themeName,
themeName: this.themeName,
languages: {
languageList,
languageName,
// languageType: languageName,
},
userInfo: this.userInfo,
userToken: this.userToken,
electron: this.$Electron,
},
onClose: () => {
handleClose: () => {
this.$refs.drawer?.onClose();
},
nextZIndex: () => {
nextModalIndex: () => {
if (typeof window.modalTransferIndex === 'number') {
return window.modalTransferIndex++;
}

View File

@ -6,7 +6,6 @@
<script>
import {mapState} from "vuex";
import microApp from '@micro-zoe/micro-app'
export default {
name: "MobileBack",
@ -128,20 +127,6 @@ export default {
}
}
}
//
let microAppIsVisible = false;
microApp.setGlobalData({
type: 'modalVisible',
callback: (appName, isVisible) => {
if (isVisible) {
microAppIsVisible = true;
}
}
})
if (microAppIsVisible) {
return true;
}
//
return false;
},
@ -149,22 +134,6 @@ export default {
//
this.$store.commit('menu/operation', {})
//
let microAppIsAccept = false;
microApp.setGlobalData({
type: 'route',
action: 'back',
route: this.$route,
callback: (appName, isAccept) => {
if (isAccept) {
microAppIsAccept = true;
}
}
})
if (microAppIsAccept) {
return;
}
//
if (this.$Modal.removeLast()) {
return;

View File

@ -4674,9 +4674,11 @@ export default {
displayMode: 'page',
isVisible: false,
appUrl: $A.mainUrl(`apps/okr/okrDetails?data=${value}`),
appUrl: $A.mainUrl(`apps/okr/`),
initialData: {
model: 'details',
empty: true,
type: 'details',
id: value,
},
});
} else {
@ -4686,8 +4688,11 @@ export default {
displayMode: 'drawer',
isVisible: true,
appUrl: $A.mainUrl(`apps/okr/${value}`),
initialData: {},
appUrl: `http://127.0.0.1:5567/apps/okr/${value}`,
// appUrl: $A.mainUrl(`apps/okr/${value}`),
initialData: {
url: $A.mainUrl()
},
});
}
},

View File

@ -75,7 +75,6 @@
position: relative;
background: #fff;
border-radius: 18px 18px 0 0;
transform: translate(0, 0) scale(1);
cursor: default;
.ivu-modal-wrap-apply {