mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-23 09:52:57 +08:00
chore(Area): remove unnecessary ref
This commit is contained in:
parent
cea2724321
commit
326c345c91
@ -51,8 +51,8 @@ export default createComponent({
|
|||||||
const pickerRef = ref(null);
|
const pickerRef = ref(null);
|
||||||
|
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
code: ref(props.value),
|
code: props.value,
|
||||||
columns: reactive([{ values: [] }, { values: [] }, { values: [] }]),
|
columns: [{ values: [] }, { values: [] }, { values: [] }],
|
||||||
});
|
});
|
||||||
|
|
||||||
const areaList = computed(() => {
|
const areaList = computed(() => {
|
||||||
|
@ -91,7 +91,7 @@ export default createComponent({
|
|||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
class={bem('placeholder')}
|
class={bem('placeholder')}
|
||||||
style={{ height: `${height.value}px` }}
|
style={{ height: height.value && `${height.value}px` }}
|
||||||
>
|
>
|
||||||
{renderNavBar()}
|
{renderNavBar()}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user