six_uniapp_0002
This commit is contained in:
@@ -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
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user