刘琳琳 4 weeks ago
parent
commit
2144376977
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/topTitle/index.js

+ 1 - 1
components/topTitle/index.js

@@ -64,7 +64,7 @@ Component({
       let expiryDate = app.globalData.snDisposition.expirationDate;
       // let expiryDate = '2025-01-25';
       // let expiryDate = '2024-12-26';
-      if (expiryDate) {
+      if (expiryDate && expiryDate !== '') {
         console.log(`弹窗次数:${app.globalData.expirationDateOpenNum}`);
         let { cusModalObj } = this.data
         const now = new Date();