king
2023-04-02 24bfb39e86c7a265803486bc4b546ea2bfaef4a5
src/views/billprint/index.jsx
@@ -61,7 +61,6 @@
        let param = JSON.parse(window.decodeURIComponent(window.atob(params.param)))
  
        sessionStorage.setItem('dataM', param.dataM || '')
        sessionStorage.setItem('localDataM', param.dataM || '')
        this.setState({
          BID: param.id || '',
          tempId: param.tempId,
@@ -456,13 +455,23 @@
  }
  reload = () => {
    const { tempId } = this.state
    this.setState({
      loadingview: true,
      pages: null,
      data: '',
      config: null
    }, () => {
      this.getMenuParam()
      Api.deleteMenuStorage(tempId)
      setTimeout(() => {
        this.getMenuParam()
      }, 50)
      // Api.getAppVersion(tempId).then(() => {
      //   this.getMenuParam()
      // }, () => {
      //   this.getMenuParam()
      // })
    })
  }