Compare commits

...

3 Commits

5 changed files with 5 additions and 5 deletions

View File

@ -297,7 +297,7 @@ export default defineComponent({
label={t('area')}
is-link={!disableArea}
modelValue={areaText.value}
rules={rules.value.areaCode}
rules={props.showArea ? rules.value.areaCode : undefined}
placeholder={props.areaPlaceholder || t('area')}
onFocus={() => onFocus('areaCode')}
onClick={() => {

View File

@ -45,7 +45,7 @@
width: 100%;
text-align: left;
margin-bottom: var(--van-padding-base);
word-break: break-word;
overflow-wrap: break-word;
}
&--required {

View File

@ -57,7 +57,7 @@ import { ref } from 'vue';
export default {
setup() {
const activeName = ref('a');
const activeName = ref('b');
return { activeName };
},
};

View File

@ -60,7 +60,7 @@ import { ref } from 'vue';
export default {
setup() {
const activeName = ref('a');
const activeName = ref('b');
return { activeName };
},
};

View File

@ -6,7 +6,7 @@
.van-text-ellipsis {
line-height: var(--van-text-ellipsis-line-height);
white-space: pre-wrap;
word-break: break-word;
overflow-wrap: break-word;
&__action {
cursor: pointer;