mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +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 state = reactive({
|
||||
code: ref(props.value),
|
||||
columns: reactive([{ values: [] }, { values: [] }, { values: [] }]),
|
||||
code: props.value,
|
||||
columns: [{ values: [] }, { values: [] }, { values: [] }],
|
||||
});
|
||||
|
||||
const areaList = computed(() => {
|
||||
|
@ -91,7 +91,7 @@ export default createComponent({
|
||||
return (
|
||||
<div
|
||||
class={bem('placeholder')}
|
||||
style={{ height: `${height.value}px` }}
|
||||
style={{ height: height.value && `${height.value}px` }}
|
||||
>
|
||||
{renderNavBar()}
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user