xujing 5 lat temu
rodzic
commit
dacfd96c85
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2
    2
      src/pages/project/index.js

+ 2
- 2
src/pages/project/index.js Wyświetl plik

@@ -170,8 +170,8 @@ export default class Index extends Component {
170 170
       const banner = res[0]
171 171
 
172 172
       const maskVisible = this.props.screenShow !== (banner || {}).contentId
173
-
174
-      if (maskVisible) {
173
+      // debugger
174
+      if (maskVisible && banner) {
175 175
         Taro.hideTabBar({
176 176
           animation: true
177 177
         })