king
2022-09-06 bdfec44c9f3a37dbbe05bf14a252ffec04132a86
src/templates/sharecomponent/settingcomponent/settingform/index.jsx
@@ -334,6 +334,14 @@
      param.timestamp = timestamp
      param.secretkey = Utils.encrypt('', timestamp)
      if (r.errors) {
        notification.warning({
          top: 92,
          message: r.errors,
          duration: 5
        })
      }
      let sumParam = null
      if (r.sumSql) {
        sumParam = {
@@ -346,10 +354,10 @@
        sumParam.secretkey = Utils.encrypt('', sumParam.timestamp)
      }
      
      Api.getLocalConfig(param).then(result => {
      Api.genericInterface(param).then(result => {
        if (result.status) {
          if (sumParam) {
            Api.getLocalConfig(sumParam).then(res => {
            Api.genericInterface(sumParam).then(res => {
              if (res.status) {
                _resolve()
              } else {