修复模式可以对目录进行更新窗口列表的BUG

修复预案可有对目录设置开机预案的BUG
This commit is contained in:
fangxiang 2022-07-12 20:04:17 +08:00
parent a26ed41c34
commit f5c84b432f
2 changed files with 18 additions and 16 deletions

View File

@ -95,6 +95,22 @@
/></q-item-section> /></q-item-section>
<q-item-section>{{ $t("add group") }}</q-item-section> <q-item-section>{{ $t("add group") }}</q-item-section>
</q-item> </q-item>
<q-item
clickable
v-ripple
v-close-popup
v-if="prop.node.item_data && !prop.node.is_group"
@click="updateToCurrentWindowList($event, prop.node)"
>
<q-item-section avatar
><q-icon name="refresh"
/></q-item-section>
<q-item-section>{{
$t("update to current window list")
}}</q-item-section>
</q-item>
<q-item <q-item
clickable clickable
v-ripple v-ripple
@ -115,21 +131,6 @@
<q-item-section>{{ $t("edit") }}</q-item-section> <q-item-section>{{ $t("edit") }}</q-item-section>
</q-item> </q-item>
<q-item
clickable
v-ripple
v-close-popup
v-if="prop.node.item_data"
@click="updateToCurrentWindowList($event, prop.node)"
>
<q-item-section avatar
><q-icon name="refresh"
/></q-item-section>
<q-item-section>{{
$t("update to current window list")
}}</q-item-section>
</q-item>
<q-item <q-item
clickable clickable
v-ripple v-ripple

View File

@ -78,7 +78,8 @@
v-close-popup v-close-popup
v-if=" v-if="
prop.node.item_data && prop.node.item_data &&
power_on_plan != prop.node.item_data.uuid power_on_plan != prop.node.item_data.uuid &&
!prop.node.is_group
" "
@click=" @click="
(evt) => setPowerOnPlan(evt, prop.node.item_data.uuid) (evt) => setPowerOnPlan(evt, prop.node.item_data.uuid)