bayi 6 months ago
parent
commit
b6d9276546
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pages/index/index.js

+ 1 - 1
pages/index/index.js

@@ -154,7 +154,7 @@ Page({
         let tmplIds = await setSubscribe()
         let tmplIds = await setSubscribe()
         this.setData({
         this.setData({
             tmplIds: tmplIds ? tmplIds : [],
             tmplIds: tmplIds ? tmplIds : [],
-            subscribeShow: tmplIds ? true : false,
+            subscribeShow: tmplIds && tmplIds.length > 0
         })
         })
     },
     },
     requestMessage() {
     requestMessage() {