Update MkUploaderDialog.vue
This commit is contained in:
parent
4a115c34ee
commit
8d3a315645
|
@ -349,7 +349,7 @@ function showMenu(ev: MouseEvent, item: typeof items.value[0]) {
|
||||||
icon: 'ti ti-plus',
|
icon: 'ti ti-plus',
|
||||||
text: i18n.ts.add,
|
text: i18n.ts.add,
|
||||||
action: async () => {
|
action: async () => {
|
||||||
const { dispose } = os.popup(defineAsyncComponent(() => import('@/components/MkWatermarkEditorDialog.vue')), {
|
const { dispose } = await os.popupAsyncWithDialog(import('@/components/MkWatermarkEditorDialog.vue').then(x => x.default), {
|
||||||
image: item.file,
|
image: item.file,
|
||||||
}, {
|
}, {
|
||||||
ok: (preset) => {
|
ok: (preset) => {
|
||||||
|
|
Loading…
Reference in New Issue