xujing преди 5 години
родител
ревизия
dacfd96c85
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2
    2
      src/pages/project/index.js

+ 2
- 2
src/pages/project/index.js Целия файл

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