优化小秤的稳定性

This commit is contained in:
17792275749
2025-05-29 15:34:28 +08:00
parent bffff89518
commit a76f61a90a
6 changed files with 16 additions and 30 deletions
@@ -1,22 +1,4 @@
const app = getApp();
import $ from "../../utils/request";
Component({
data: {
},
lifetimes: {
attached() {
},
detached() {
// 在组件实例被从页面节点树移除时执行
console.log('MyComponent detached!');
}
},
// 组件的方法
methods: {
bindOk() {
this.triggerEvent('deviceEvent', {