调整高度、默认宽度

This commit is contained in:
2022-11-03 05:42:03 +08:00
parent 789afd20a4
commit 8a0b289323
5 changed files with 5 additions and 7 deletions

View File

@ -2,7 +2,7 @@
import {ref, watch, onMounted, reactive} from "vue";
/** 子项默认宽度 */
const itemWidth = ref(18);
const itemWidth = ref(10);
/** 父Flex属性Flex容器 默认值 */
const flexContainerForm: { [key: string]: any } = reactive({
"flex-direction": "row",
@ -252,7 +252,7 @@ setInterval(() => {
<span>Width{{ itemWidth }}</span>
<a-slider
v-model="itemWidth"
:min="18"
:min="10"
:max="100"
:step="1"
:style="{ paddingLeft: '10px', width: '90%' }"

View File

@ -11,7 +11,7 @@ body {
margin: 0 auto;
/*padding: 0 2rem;*/
font-weight: normal;
overflow: hidden;
overflow-x: hidden;
}
a {