feat(iot): 修复 rule scene 的样式(覆盖)问题、间隙问题

pull/345/head
YunaiV 2026-05-21 00:37:30 +08:00
parent cb175e331f
commit 13c3028ecc
7 changed files with 8 additions and 4 deletions

View File

@ -8,7 +8,7 @@ import {
} from '@vben/constants';
import { useVModel } from '@vueuse/core';
import { DatePicker, Input, Select, Tag, Tooltip } from 'ant-design-vue';
import { DatePicker, Input, InputNumber, Select, Tag, Tooltip } from 'ant-design-vue';
/** 值输入组件 */
defineOptions({ name: 'ValueInput' });
@ -256,7 +256,7 @@ watch(
/>
<!-- 数字输入 -->
<Input.Number
<InputNumber
v-else-if="isNumericType()"
v-model:value="numberValue"
:precision="getPrecision()"

View File

@ -26,7 +26,7 @@ const formData = useVModel(props, 'modelValue', emit); // 表单数据
</script>
<template>
<Card class="rounded-[8px] mb-[10px] border border-primary" shadow="never">
<Card class="rounded-[8px] mb-[10px]! border border-primary" shadow="never">
<template #title>
<div class="flex items-center justify-between">
<div class="gap-[8px] flex items-center">

View File

@ -108,7 +108,7 @@ onMounted(() => {
</script>
<template>
<Card class="rounded-[8px] mb-[10px] border border-primary" shadow="never">
<Card class="rounded-[8px] mb-[10px]! border border-primary" shadow="never">
<template #title>
<div class="flex items-center justify-between">
<div class="gap-[8px] flex items-center">

View File

@ -80,6 +80,7 @@ watch(
show-search
allow-clear
class="w-full"
option-label-prop="label"
:loading="deviceLoading"
:disabled="!productId"
>

View File

@ -243,6 +243,7 @@ watch(
placeholder="请选择操作符"
@change="handleChange"
class="w-full"
option-label-prop="label"
>
<Select.Option
v-for="operator in availableOperators"

View File

@ -61,6 +61,7 @@ onMounted(() => {
show-search
allow-clear
class="w-full"
option-label-prop="label"
:loading="productLoading"
>
<Select.Option

View File

@ -206,6 +206,7 @@ watch(
allow-clear
@change="handleChange"
class="!w-[150px]"
option-label-prop="label"
:loading="loading"
>
<Select.OptGroup