From d5933ac4e05a8d4a9951ad1d920fd6258c4f0169 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Sat, 11 Feb 2023 15:28:10 +0800
Subject: [PATCH] 格式化方案更换
---
src/components/select/index.vue | 21 +++++++++++++++------
1 files changed, 15 insertions(+), 6 deletions(-)
diff --git a/src/components/select/index.vue b/src/components/select/index.vue
index ac78114..0f0b95f 100644
--- a/src/components/select/index.vue
+++ b/src/components/select/index.vue
@@ -1,17 +1,26 @@
<template>
<div class="selects-container">
<!-- 选择框 -->
- <div :class="{ 'selects-box-show': !optionsShow, 'selects-box-hide': optionsShow, 'select-choosable': selectAllClass }"
- class="selects-box" @click="selectClick">
+ <div
+ :class="{ 'selects-box-show': !optionsShow, 'selects-box-hide': optionsShow, 'select-choosable': selectAllClass }"
+ class="selects-box"
+ @click="selectClick"
+ >
<div class="text" v-text="checkValue"></div>
<i class="el-icon-arrow-down"></i>
</div>
<!-- 下拉框大盒子 -->
- <div :class="{ 'options-box-show': !optionsShow, 'options-box-hide': optionsShow, issel: options.length >= 4 }"
- class="select-options" :style="{ height: 35 * options.length + 'px' }">
+ <div
+ :class="{ 'options-box-show': !optionsShow, 'options-box-hide': optionsShow, issel: options.length >= 4 }"
+ class="select-options"
+ :style="{ height: 35 * options.length + 'px' }"
+ >
<!-- 下拉框 -->
- <div @click="cutValue(item, index)" v-for="(item, index) in options" :key="index">{{ item[optionsName] }}
- </div>
+ <div
+ @click="cutValue(item, index)"
+ v-for="(item, index) in options"
+ :key="index"
+ >{{ item[optionsName] }}</div>
</div>
</div>
</template>
--
Gitblit v1.9.3