apply-clients 5.0.35-ezhou-5 → 5.0.35-ezhou-6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apply-clients",
3
- "version": "5.0.35-ezhou-5",
3
+ "version": "5.0.35-ezhou-6",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -315,11 +315,11 @@ export default {
315
315
  // eslint-disable-next-line no-undef
316
316
  let result = await this.getApplyConfig()
317
317
  console.log("当前获取的值", JSON.stringify(result))
318
- if (result.code === 500) {
318
+ if (result.data.code === 500) {
319
319
  this.$showMessage('获取流程配置文件失败,请联系系统管理员')
320
320
  return
321
321
  }
322
- let data = JSON.parse(result.workflow_vue)
322
+ let data = result.data.workflow_vue
323
323
  console.log('前台存入缓存中的data=>' + JSON.stringify(data))
324
324
  Vue.workflow_vue = Vue.prototype.$workflow_vue = data
325
325
  }