更新tailwindcss版本至4.1.11,优化Assistant.vue和BaseDialog.vue组件,移除不必要的Modal参数,调整workerDirectory格式。

This commit is contained in:
Chuck1sn
2025-07-17 11:58:32 +08:00
parent 5f0f0fbd14
commit b759275cf3
4 changed files with 23 additions and 13 deletions

View File

@@ -445,10 +445,7 @@ onMounted(async () => {
if ($userDeleteModalElement) {
userDeleteModal.value = new Modal(
$userDeleteModalElement,
{},
{
id: "user-delete-modal",
},
{}
);
}
const $departmentDeleteModalElement: HTMLElement | null =

View File

@@ -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();
});