一、wxml中如果定义了2个完全一样的变量{{name}} {{name}},小程序编译会出现奇怪的问题。
二、mini webapi中API字符串语法多写一个string,会出现奇怪的编译错误。
正确写法:app.MapGet("/get_carlist/{openid}", (string openid) => get_carlist(openid));
错误写法:app.MapGet("/get_carlist/{openid:string}", (string openid) => get_carlist(openid));
三、小程序的button组件,绑定函数写错,bindtap 写成了 bandtap ,编译不会出错,但按钮不会响应点击事件。