Commit 98a95e6e by preschooler

๐ŸŽˆ perf:ไผ˜ๅŒ–ๆƒ้™้€‰ๆ‹ฉๆก†

parent 323e6197
......@@ -8,7 +8,7 @@
<el-tag>{{ formData.code }}</el-tag>
</el-form-item>
<el-form-item label="่œๅ•ๆƒ้™">
<el-card class="cardHeight">
<el-card class="w-full h-400px !overflow-y-scroll" shadow="never">
<template #header>
ๅ…จ้€‰/ๅ…จไธ้€‰:
<el-switch
......@@ -151,10 +151,3 @@ const handleCheckedTreeExpand = () => {
}
}
</script>
<style lang="scss" scoped>
.cardHeight {
width: 100%;
max-height: 400px;
overflow-y: scroll;
}
</style>
<template>
<Dialog v-model="dialogVisible" title="่œๅ•ๆƒ้™" width="800">
<Dialog v-model="dialogVisible" title="ๆ•ฐๆฎๆƒ้™" width="800">
<el-form ref="formRef" v-loading="formLoading" :model="formData" label-width="80px">
<el-form-item label="่ง’่‰ฒๅ็งฐ">
<el-tag>{{ formData.name }}</el-tag>
......@@ -21,9 +21,9 @@
<el-form-item
v-if="formData.dataScope === SystemDataScopeEnum.DEPT_CUSTOM"
label="ๆƒ้™่Œƒๅ›ด"
style="display: flex"
label-width="80px"
>
<el-card class="card" shadow="never">
<el-card class="w-full h-400px !overflow-y-scroll" shadow="never">
<template #header>
ๅ…จ้€‰/ๅ…จไธ้€‰:
<el-switch
......
......@@ -11,7 +11,7 @@
<el-input v-model="formData.name" placeholder="่ฏท่พ“ๅ…ฅๅฅ—้คๅ" />
</el-form-item>
<el-form-item label="่œๅ•ๆƒ้™">
<el-card class="cardHeight">
<el-card class="w-full h-400px !overflow-y-scroll" shadow="never">
<template #header>
ๅ…จ้€‰/ๅ…จไธ้€‰:
<el-switch
......@@ -185,10 +185,3 @@ const handleCheckedTreeExpand = () => {
}
}
</script>
<style lang="scss" scoped>
.cardHeight {
width: 100%;
max-height: 400px;
overflow-y: scroll;
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment