fix:【antd】【mall】diy-editor 里的 carousel、navigation-bar 不支持 :show-input-controls、input-size、show-input 移除
This commit is contained in:
@@ -74,9 +74,6 @@ const formData = useVModel(props, 'modelValue', emit);
|
|||||||
:max="10"
|
:max="10"
|
||||||
:min="0.5"
|
:min="0.5"
|
||||||
:step="0.5"
|
:step="0.5"
|
||||||
show-input
|
|
||||||
input-size="small"
|
|
||||||
:show-input-controls="false"
|
|
||||||
/>
|
/>
|
||||||
<p class="text-info">单位:秒</p>
|
<p class="text-info">单位:秒</p>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
|
|||||||
@@ -3,6 +3,8 @@ import type { NavigationBarCellProperty } from '../config';
|
|||||||
|
|
||||||
import { computed, ref } from 'vue';
|
import { computed, ref } from 'vue';
|
||||||
|
|
||||||
|
import { IconifyIcon } from '@vben/icons';
|
||||||
|
|
||||||
import { useVModel } from '@vueuse/core';
|
import { useVModel } from '@vueuse/core';
|
||||||
import {
|
import {
|
||||||
FormItem,
|
FormItem,
|
||||||
@@ -156,14 +158,7 @@ function handleHotAreaSelected(
|
|||||||
<Switch v-model:checked="cell!.showScan" />
|
<Switch v-model:checked="cell!.showScan" />
|
||||||
</FormItem>
|
</FormItem>
|
||||||
<FormItem :prop="`cell[${cellIndex}].borderRadius`" label="圆角">
|
<FormItem :prop="`cell[${cellIndex}].borderRadius`" label="圆角">
|
||||||
<Slider
|
<Slider v-model:value="cell.borderRadius" :max="100" :min="0" />
|
||||||
v-model:value="cell.borderRadius"
|
|
||||||
:max="100"
|
|
||||||
:min="0"
|
|
||||||
:show-input-controls="false"
|
|
||||||
input-size="small"
|
|
||||||
show-input
|
|
||||||
/>
|
|
||||||
</FormItem>
|
</FormItem>
|
||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user