king
2023-03-01 c2580fb8de3bdaabb4179b0ce0fcd2fbac802441
src/views/mobdesign/index.jsx
@@ -1607,14 +1607,14 @@
                    }
                    resolve(result)
                  })
                  }, this.netError)
                } else {
                  resolve(res)
                }
              } else {
                resolve(res)
              }
            })
            }, this.netError)
          }
        }
      }).then(res => { // 页面保存
@@ -1652,10 +1652,23 @@
            duration: 5
          })
        }
      })
      }, this.netError)
    }, 300 + (+sessionStorage.getItem('mkDelay')))
  }
  netError = (error) => {
    this.setState({
      menuloading: false
    })
    if (!error) {
      notification.warning({
        top: 92,
        message: '保存失败,请检查网络是否正常。',
        duration: 5
      })
    }
  }
  getRoleFields = () => {
    if (sessionStorage.getItem('sysRoles')) return