mirror of
https://github.com/paricafe/misskey.git
synced 2025-04-01 09:09:29 -05:00
fix(frontend): router view stacking有効時にinstall-extensionsが動かない
This commit is contained in:
parent
4ab9f66356
commit
c17a104de6
1 changed files with 5 additions and 11 deletions
|
@ -44,7 +44,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { ref, computed, onActivated, onDeactivated, nextTick } from 'vue';
|
||||
import { ref, computed, nextTick } from 'vue';
|
||||
import type { Extension } from '@/components/MkExtensionInstaller.vue';
|
||||
import type { AiScriptPluginMeta } from '@/plugin.js';
|
||||
import MkLoading from '@/components/global/MkLoading.vue';
|
||||
|
@ -229,16 +229,10 @@ async function install() {
|
|||
}
|
||||
}
|
||||
|
||||
onActivated(() => {
|
||||
const urlParams = new URLSearchParams(window.location.search);
|
||||
url.value = urlParams.get('url');
|
||||
hash.value = urlParams.get('hash');
|
||||
fetch();
|
||||
});
|
||||
|
||||
onDeactivated(() => {
|
||||
uiPhase.value = 'fetching';
|
||||
});
|
||||
const urlParams = new URLSearchParams(window.location.search);
|
||||
url.value = urlParams.get('url');
|
||||
hash.value = urlParams.get('hash');
|
||||
fetch();
|
||||
|
||||
const headerActions = computed(() => []);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue