Fix プル -> 回復する

This commit is contained in:
xue jiahao
2024-12-17 14:13:33 +08:00
parent e7f4078ca3
commit d7280d66b2

View File

@@ -47,8 +47,7 @@
</template> </template>
<template v-slot:body-cell-actions="p"> <template v-slot:body-cell-actions="p">
<q-td :props="p"> <q-td :props="p">
<span v-if="p.row.id === app.version"></span> <table-action-menu :row="p.row" minWidth="140px" :actions="actionList" />
<table-action-menu v-else :row="p.row" minWidth="140px" :actions="actionList" />
</q-td> </q-td>
</template> </template>
</q-table> </q-table>
@@ -119,7 +118,7 @@ const confirmDialog = ref(false);
const deleteUserLoading = ref(false); const deleteUserLoading = ref(false);
const actionList = ref([ const actionList = ref([
{ label: 'プル', icon: 'flag', action: changeVersion }, { label: '回復する', icon: 'flag', action: changeVersion },
// { label: 'プレビュー', icon: 'visibility', action: toVersionHistoryPage }, // { label: 'プレビュー', icon: 'visibility', action: toVersionHistoryPage },
// { separator: true }, // { separator: true },
// { label: '削除', icon: 'delete_outline', class: 'text-red', action: removeRow }, // { label: '削除', icon: 'delete_outline', class: 'text-red', action: removeRow },