fix style

This commit is contained in:
Qiuxia Fan 2022-03-30 15:06:29 +08:00
parent 934c9a56a5
commit 7ddd719205

View File

@ -56,7 +56,7 @@ limitations under the License. -->
:clearable="true" :clearable="true"
/> />
</div> </div>
<div class="item" v-show="isTopn"> <div class="item mb-10" v-show="isTopn">
<span class="label">{{ t("sortOrder") }}</span> <span class="label">{{ t("sortOrder") }}</span>
<SelectSingle <SelectSingle
:value="currentMetric.sortOrder || 'DES'" :value="currentMetric.sortOrder || 'DES'"
@ -67,11 +67,12 @@ limitations under the License. -->
</div> </div>
<div class="item" v-show="isTopn"> <div class="item" v-show="isTopn">
<span class="label">{{ t("maxItemNum") }}</span> <span class="label">{{ t("maxItemNum") }}</span>
<el-input-number <el-input
class="selectors" class="selectors"
v-model="currentMetric.topN" v-model="currentMetric.topN"
size="small" size="small"
placeholder="none" placeholder="none"
type="number"
:min="1" :min="1"
:max="100" :max="100"
@change="changeConfigs(index, { topN: currentMetric.topN || 10 })" @change="changeConfigs(index, { topN: currentMetric.topN || 10 })"