mirror of
https://github.com/ccmjga/zhilu-admin
synced 2026-03-31 16:43:40 +08:00
fix modal dup id
This commit is contained in:
@@ -147,20 +147,8 @@ onMounted(async () => {
|
||||
const $deleteModalElement: HTMLElement | null = document.querySelector(
|
||||
"#position-delete-modal",
|
||||
);
|
||||
positionUpsertModal.value = new Modal(
|
||||
$upsertModalElement,
|
||||
{},
|
||||
{
|
||||
id: "position-upsert-modal",
|
||||
},
|
||||
);
|
||||
positionDeleteModal.value = new Modal(
|
||||
$deleteModalElement,
|
||||
{},
|
||||
{
|
||||
id: "position-delete-modal",
|
||||
},
|
||||
);
|
||||
positionUpsertModal.value = new Modal($upsertModalElement, {});
|
||||
positionDeleteModal.value = new Modal($deleteModalElement, {});
|
||||
});
|
||||
|
||||
const handleUpsertPositionSubmit = async (
|
||||
|
||||
Reference in New Issue
Block a user