mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 19:24:16 +00:00
types: improve ref typing (#8182)
This commit is contained in:
@@ -75,7 +75,7 @@ export default createComponent({
|
||||
|
||||
setup(props, { emit, slots }) {
|
||||
const root = ref<HTMLElement>();
|
||||
const activeAnchor = ref();
|
||||
const activeAnchor = ref('');
|
||||
|
||||
const touch = useTouch();
|
||||
const scrollParent = useScrollParent(root);
|
||||
|
Reference in New Issue
Block a user