Browse Source

提交设备列表注释

wangming 1 tuần trước cách đây
mục cha
commit
808f388090
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      src/pagesA/devices/devices.vue

+ 3 - 0
src/pagesA/devices/devices.vue

@@ -118,6 +118,7 @@ export default {
             const [hours, minutes] = timePart.split(":");
             const [hours, minutes] = timePart.split(":");
             return `${parseInt(month)}月${parseInt(day)}日${hours}:${minutes}`;
             return `${parseInt(month)}月${parseInt(day)}日${hours}:${minutes}`;
         },
         },
+        // 查询列表
         queryList() {
         queryList() {
             uni.showLoading({
             uni.showLoading({
                 title: "查询中...",
                 title: "查询中...",
@@ -159,6 +160,8 @@ export default {
                     uni.hideLoading();
                     uni.hideLoading();
                 });
                 });
         },
         },
+
+        // 订阅列表中所有设备的presence_change主题
         subscribePresenceChange(clientIdList) {
         subscribePresenceChange(clientIdList) {
             // 遍历订阅
             // 遍历订阅
             if (clientIdList.length == 0) return;
             if (clientIdList.length == 0) return;