enhance(frontend): クリップボタンをノートアクションに追加できるように
This commit is contained in:
@@ -26,6 +26,7 @@ import { i18n } from '@/i18n';
|
||||
import { definePageMetadata } from '@/scripts/page-metadata';
|
||||
import { useRouter } from '@/router';
|
||||
import MkButton from '@/components/MkButton.vue';
|
||||
import { rolesCache } from '@/cache';
|
||||
|
||||
const router = useRouter();
|
||||
|
||||
@@ -61,6 +62,7 @@ if (props.id) {
|
||||
}
|
||||
|
||||
async function save() {
|
||||
rolesCache.delete();
|
||||
if (role) {
|
||||
os.apiWithDialog('admin/roles/update', {
|
||||
roleId: role.id,
|
||||
|
Reference in New Issue
Block a user