|
|
@ -83,6 +83,7 @@ const gridDisplayValueField = computed(() => { |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
const onMove = async (_event: { moved: { newIndex: number; oldIndex: number } }, undo = false) => { |
|
|
|
const onMove = async (_event: { moved: { newIndex: number; oldIndex: number } }, undo = false) => { |
|
|
|
|
|
|
|
try { |
|
|
|
// todo : sync with server |
|
|
|
// todo : sync with server |
|
|
|
if (!fields.value) return |
|
|
|
if (!fields.value) return |
|
|
|
|
|
|
|
|
|
|
@ -135,6 +136,9 @@ const onMove = async (_event: { moved: { newIndex: number; oldIndex: number } }, |
|
|
|
reloadViewDataHook?.trigger() |
|
|
|
reloadViewDataHook?.trigger() |
|
|
|
|
|
|
|
|
|
|
|
$e('a:fields:reorder') |
|
|
|
$e('a:fields:reorder') |
|
|
|
|
|
|
|
} catch (e) { |
|
|
|
|
|
|
|
message.error(await extractSdkResponseErrorMsg(e)) |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const coverOptions = computed<SelectProps['options']>(() => { |
|
|
|
const coverOptions = computed<SelectProps['options']>(() => { |
|
|
|