We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
list: [ { date: "2025-01-01", price: "¥199", }, { date: "2025-01-02", price: "¥199", }, { date: "2025-01-03", price: "¥199", }, ], methods: { formatter(day) { // console.log(this.list);
const month = day.date.getMonth() + 1; const date = day.date.getDate(); if (day.type === "start") { day.bottomInfo = "入住"; } else if (day.type === "end") { day.bottomInfo = "离店"; } return day; },
},
1.11.6
获取不到this.list
日历组件加载时获取不到
uni微信小程序
The text was updated successfully, but these errors were encountered:
No branches or pull requests
重现链接
list: [
{
date: "2025-01-01",
price: "¥199",
},
{
date: "2025-01-02",
price: "¥199",
},
{
date: "2025-01-03",
price: "¥199",
},
],
methods: {
formatter(day) {
// console.log(this.list);
},
Vant Weapp 版本
1.11.6
描述一下你遇到的问题。
获取不到this.list
重现步骤
日历组件加载时获取不到
设备/浏览器
uni微信小程序
The text was updated successfully, but these errors were encountered: