mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-13 20:12:48 +00:00
fix: 修复应用无法在窗口独立显示
This commit is contained in:
parent
d1f00b2d48
commit
cc96fcd6a0
@ -384,7 +384,7 @@ export default {
|
|||||||
const apps = (await $A.IDBArray("cacheMicroApps")).filter(item => item.name != appConfig.name);
|
const apps = (await $A.IDBArray("cacheMicroApps")).filter(item => item.name != appConfig.name);
|
||||||
apps.length > 50 && apps.splice(0, 10)
|
apps.length > 50 && apps.splice(0, 10)
|
||||||
apps.push(appConfig)
|
apps.push(appConfig)
|
||||||
await $A.IDBSet("cacheMicroApps", apps);
|
await $A.IDBSet("cacheMicroApps", $A.cloneJSON(apps));
|
||||||
|
|
||||||
if (this.$Electron) {
|
if (this.$Electron) {
|
||||||
await this.$store.dispatch('openChildWindow', {
|
await this.$store.dispatch('openChildWindow', {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user