mirror of
https://github.com/ccmjga/zhilu-admin
synced 2026-04-08 14:37:38 +00:00
更新tailwindcss版本至4.1.11,优化Assistant.vue和BaseDialog.vue组件,移除不必要的Modal参数,调整workerDirectory格式。
This commit is contained in:
@@ -445,10 +445,7 @@ onMounted(async () => {
|
||||
if ($userDeleteModalElement) {
|
||||
userDeleteModal.value = new Modal(
|
||||
$userDeleteModalElement,
|
||||
{},
|
||||
{
|
||||
id: "user-delete-modal",
|
||||
},
|
||||
{}
|
||||
);
|
||||
}
|
||||
const $departmentDeleteModalElement: HTMLElement | null =
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { Modal, initFlowbite } from "flowbite";
|
||||
import { initFlowbite } from "flowbite";
|
||||
import { computed, onMounted } from "vue";
|
||||
|
||||
export type ModalSize =
|
||||
@@ -72,7 +72,6 @@ const maxWidthClass = computed(() => {
|
||||
return sizes[props.size || "md"];
|
||||
});
|
||||
|
||||
// 确保Flowbite初始化,这对于PopupModal的正常工作至关重要
|
||||
onMounted(() => {
|
||||
initFlowbite();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user