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

@@ -32,6 +32,7 @@ const {
selectedNum,
pagination,
buttonClass,
deviceDetection,
onSearch,
resetForm,
onbatchDel,
@@ -50,20 +51,22 @@ const {
</script>
<template>
<div class="flex justify-between">
<div :class="['flex', 'justify-between', deviceDetection() && 'flex-wrap']">
<tree
ref="treeRef"
class="min-w-[200px] mr-2"
:class="['mr-2', deviceDetection() ? 'w-full' : 'min-w-[200px]']"
:treeData="treeData"
:treeLoading="treeLoading"
@tree-select="onTreeSelect"
/>
<div class="w-[calc(100%-200px)]">
<div
:class="[deviceDetection() ? ['w-full', 'mt-2'] : 'w-[calc(100%-200px)]']"
>
<el-form
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="username">
<el-input