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"
|
||||
:min="0.5"
|
||||
:step="0.5"
|
||||
show-input
|
||||
input-size="small"
|
||||
:show-input-controls="false"
|
||||
/>
|
||||
<p class="text-info">单位:秒</p>
|
||||
</FormItem>
|
||||
|
||||
@@ -3,6 +3,8 @@ import type { NavigationBarCellProperty } from '../config';
|
||||
|
||||
import { computed, ref } from 'vue';
|
||||
|
||||
import { IconifyIcon } from '@vben/icons';
|
||||
|
||||
import { useVModel } from '@vueuse/core';
|
||||
import {
|
||||
FormItem,
|
||||
@@ -156,14 +158,7 @@ function handleHotAreaSelected(
|
||||
<Switch v-model:checked="cell!.showScan" />
|
||||
</FormItem>
|
||||
<FormItem :prop="`cell[${cellIndex}].borderRadius`" label="圆角">
|
||||
<Slider
|
||||
v-model:value="cell.borderRadius"
|
||||
:max="100"
|
||||
:min="0"
|
||||
:show-input-controls="false"
|
||||
input-size="small"
|
||||
show-input
|
||||
/>
|
||||
<Slider v-model:value="cell.borderRadius" :max="100" :min="0" />
|
||||
</FormItem>
|
||||
</template>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user