From 9b28d14bc38135ad3a5f3e9b7fbb3b1af4b02c71 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子Li <15040126243@163.com>
Date: 星期三, 06 十二月 2023 00:18:31 +0800
Subject: [PATCH] fix 修复 在线用户 强推按钮点击取消控制台警告问题
---
src/components/IconSelect/index.vue | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/components/IconSelect/index.vue b/src/components/IconSelect/index.vue
index c53b437..1cd0023 100644
--- a/src/components/IconSelect/index.vue
+++ b/src/components/IconSelect/index.vue
@@ -2,7 +2,7 @@
<div class="relative" :style="{ width: width }">
<el-input v-model="modelValue" readonly @click="visible = !visible" placeholder="鐐瑰嚮閫夋嫨鍥炬爣">
<template #prepend>
- <svg-icon :icon-class="modelValue as string" />
+ <svg-icon :icon-class="modelValue" />
</template>
</el-input>
@@ -68,6 +68,10 @@
</script>
<style scoped lang="scss">
+.el-scrollbar {
+ max-height: calc(50vh - 100px)!important;
+ overflow-y: auto;
+}
.el-divider--horizontal {
margin: 10px auto !important;
}
--
Gitblit v1.9.3