修改语法错误

pull/55/head
Suk1No 5 months ago
parent 204cd53a76
commit 0f45c4d4d9

@ -46,7 +46,7 @@
const scrollTop = ref(0)
const current = ref(0)
const menuHeight = ref(0)
const menuItemHeight = ref(0) const getImg = ()=>{
const menuItemHeight = ref(0)
const getImg = () => {
return Math.floor(Math.random() * 35)
}
@ -63,7 +63,7 @@
// item
scrollTop.value = index * menuItemHeight.value + menuItemHeight.value / 2 - menuHeight.value / 2;
}
{
const getElRect = (elClass, dataVal) => {
new Promise((resolve, reject) => {
const query = uni.createSelectorQuery().in(instance);

Loading…
Cancel
Save