perf: 系统管理、系统监控兼容移动端

This commit is contained in:
xiaoxian521
2024-03-16 23:20:04 +08:00
parent 6270ec712f
commit c0005b4bc9
13 changed files with 34 additions and 17 deletions

View File

@@ -34,7 +34,7 @@ const {
ref="formRef"
:inline="true"
:model="form"
class="search-form bg-bg_color w-[99/100] pl-8 pt-[12px]"
class="search-form bg-bg_color w-[99/100] pl-8 pt-[12px] overflow-auto"
>
<el-form-item label="部门名称:" prop="name">
<el-input

View File

@@ -7,7 +7,7 @@ import { usePublicHooks } from "../../hooks";
import { addDialog } from "@/components/ReDialog";
import { reactive, ref, onMounted, h } from "vue";
import type { FormItemProps } from "../utils/types";
import { cloneDeep, isAllEmpty } from "@pureadmin/utils";
import { cloneDeep, isAllEmpty, deviceDetection } from "@pureadmin/utils";
export function useDept() {
const form = reactive({
@@ -120,6 +120,7 @@ export function useDept() {
},
width: "40%",
draggable: true,
fullscreen: deviceDetection(),
fullscreenIcon: true,
closeOnClickModal: false,
contentRenderer: () => h(editForm, { ref: formRef }),