enhance(frontend): クリップボタンをノートアクションに追加できるように
This commit is contained in:
parent
e438091113
commit
5f52b13325
13 changed files with 199 additions and 62 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue