fix(client): fix plugin activate and uninstall (#7991)

* fix(client): fix plugin activate and uninstall

* Fix(client): fix package activates
This commit is contained in:
futchitwo 2021-11-19 00:38:20 +09:00 committed by GitHub
parent eb1012e44d
commit 808f0269c7

View file

@ -3,7 +3,7 @@
<FormGroup v-for="plugin in plugins" :key="plugin.id"> <FormGroup v-for="plugin in plugins" :key="plugin.id">
<template #label><span style="display: flex;"><b>{{ plugin.name }}</b><span style="margin-left: auto;">v{{ plugin.version }}</span></span></template> <template #label><span style="display: flex;"><b>{{ plugin.name }}</b><span style="margin-left: auto;">v{{ plugin.version }}</span></span></template>
<FormSwitch :value="plugin.active" @update:modelValue="changeActive(plugin, $event)">{{ $ts.makeActive }}</FormSwitch> <FormSwitch :modelValue="plugin.active" @update:modelValue="changeActive(plugin, $event)">{{ $ts.makeActive }}</FormSwitch>
<div class="_debobigegoItem"> <div class="_debobigegoItem">
<div class="_debobigegoPanel" style="padding: 16px;"> <div class="_debobigegoPanel" style="padding: 16px;">
<div class="_keyValue"> <div class="_keyValue">
@ -41,6 +41,7 @@ import FormGroup from '@/components/debobigego/group.vue';
import * as os from '@/os'; import * as os from '@/os';
import { ColdDeviceStorage } from '@/store'; import { ColdDeviceStorage } from '@/store';
import * as symbols from '@/symbols'; import * as symbols from '@/symbols';
import { unisonReload } from '@/scripts/unison-reload';
export default defineComponent({ export default defineComponent({
components: { components: {