摘要:
设置金额带有浮点数的设置。oninput(4.223) oninput(val,limit = 2) { if(val.indexOf(".") == -1){ if(val.length > 17){ val = val.substr(0,17) } } val = val.replace(/[^ 阅读全文
posted @ 2025-07-14 15:35
微宇宙
阅读(39)
评论(0)
推荐(0)
摘要:
默认在wxml上面tap绑定事件,点击打开地理位置。 validationPosition() { wx.getSetting({ success: (res) => { if (res.authSetting['scope.userLocation']) { // 定位权限已开启 wx.getLo 阅读全文
posted @ 2025-07-14 15:33
微宇宙
阅读(97)
评论(0)
推荐(0)
浙公网安备 33010602011771号