six_uniapp_0002

This commit is contained in:
doudou201703
2026-08-10 22:08:37 +08:00
parent 2b2d99c43e
commit d14b70ad24
4 changed files with 4 additions and 110 deletions
-10
View File
@@ -13,11 +13,6 @@
"style": {
"disableScroll": true,
"navigationStyle": "custom"
// "mp-weixin": {
// "usingComponents": {
// "send-coupon": "plugin://sendCoupon/send-coupon"
// }
// }
}
},
{
@@ -32,11 +27,6 @@
"style": {
"disableScroll": true,
"navigationStyle": "custom"
// "mp-weixin": {
// "usingComponents": {
// "send-coupon": "plugin://sendCoupon/send-coupon"
// }
// }
}
}
],
+3 -20
View File
@@ -227,27 +227,10 @@
wx.vibrateShort({type: "heavy"});//medium heavy light
});
const ra = ref({
name: "ra",
power: 100,
friend: {
name: "loki",
power: 80,
},
enemies: [
{
name: "hathor",
power: 12,
},
],
});
const buttonClick = dash.throttle({interval: 330,}, async () => {
console.log("=============");
console.log(dash.keys(ra.value));
});
watchEffect(() => {
console.log("监听开始了啦");
const buttonClick = dash.throttle({interval: 330,}, async () => {
await wx.vibrateShort({type: "heavy"});//medium heavy light
console.log("=============");
});
</script>