king
2025-04-11 4ed39ba3f0521fe8b28a98a0c7f02a36b9202483
Merge branch 'positec' into dms
5个文件已修改
50 ■■■■■ 已修改文件
src/api/index.js 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/menudesign/index.jsx 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mobdesign/index.jsx 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/pcdesign/index.jsx 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/tabledesign/index.jsx 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/index.js
@@ -74,8 +74,8 @@
    return Promise.reject(response.data)
  } else {
    if (response.data.ErrCode === 'E' && /死锁/.test(response.data.message)) {
      response.data.message = '服务器繁忙,请稍后重试!'
      response.data.ErrMesg = '服务器繁忙,请稍后重试!'
      response.data.message = window.GLOB.dict['server_busy'] || '服务器繁忙,请稍后重试!'
      response.data.ErrMesg = response.data.message
    }
    if (response.config.requestId) {
      response.data.$requestId = response.config.requestId
@@ -85,7 +85,15 @@
}, (error) => {
  let response = error.response || ''
  if (response && response.status) {
  if (!response) {
    notification.error({
      className: 'notification-custom-error',
      bottom: 0,
      message: error.message.includes('Network Error') && lang === 'zh-CN' ? '网络连接失败!' : error.message,
      placement: 'bottomRight',
      duration: 15
    })
  } else if (response && response.status) {
    notification.error({
      className: 'notification-custom-error',
      bottom: 0,
src/views/menudesign/index.jsx
@@ -1057,18 +1057,11 @@
    }, 300 + (+sessionStorage.getItem('mkDelay')))
  }
  netError = (error) => {
  netError = () => {
    this.setState({
      menuloading: false
    })
    if (!error) {
      notification.warning({
        top: 92,
        message: '保存失败,请检查网络是否正常。',
        duration: 5
      })
    }
    MKEmitter.emit('completeSave')
  }
src/views/mobdesign/index.jsx
@@ -1835,18 +1835,11 @@
    }, 300 + (+sessionStorage.getItem('mkDelay')))
  }
  netError = (error) => {
  netError = () => {
    this.setState({
      menuloading: false
    })
    if (!error) {
      notification.warning({
        top: 92,
        message: '保存失败,请检查网络是否正常。',
        duration: 5
      })
    }
    MKEmitter.emit('completeSave')
  }
src/views/pcdesign/index.jsx
@@ -1537,18 +1537,11 @@
    }, 300 + (+sessionStorage.getItem('mkDelay')))
  }
  netError = (error) => {
  netError = () => {
    this.setState({
      menuloading: false
    })
    if (!error) {
      notification.warning({
        top: 92,
        message: '保存失败,请检查网络是否正常。',
        duration: 5
      })
    }
    MKEmitter.emit('completeSave')
  }
src/views/tabledesign/index.jsx
@@ -736,18 +736,11 @@
    }, 300 + (+sessionStorage.getItem('mkDelay')))
  }
  netError = (error) => {
  netError = () => {
    this.setState({
      menuloading: false
    })
    if (!error) {
      notification.warning({
        top: 92,
        message: '保存失败,请检查网络是否正常。',
        duration: 5
      })
    }
    MKEmitter.emit('completeSave')
  }