Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加数据源报错 #329

Closed
hecongyuan opened this issue May 12, 2021 · 0 comments
Closed

添加数据源报错 #329

hecongyuan opened this issue May 12, 2021 · 0 comments

Comments

@hecongyuan
Copy link

hecongyuan commented May 12, 2021

问题描述
添加数据源报错

data-source.js?99e2:61 Uncaught (in promise) TypeError: Cannot read property 'datasources' of undefined
    at Store.dataSourceManager (data-source.js?99e2:61)
    at wrappedMutationHandler (vuex.esm.js?2f62:840)
    at commitIterator (vuex.esm.js?2f62:462)
    at Array.forEach (<anonymous>)
    at eval (vuex.esm.js?2f62:461)
    at Store._withCommit (vuex.esm.js?2f62:620)
    at Store.commit (vuex.esm.js?2f62:460)
    at Store.boundCommit [as commit] (vuex.esm.js?2f62:405)
    at local.commit (vuex.esm.js?2f62:792)
    at Store.dataSourceManager (data-source.js?99e2:9)
dataSourceManager @ data-source.js?99e2:61
wrappedMutationHandler @ vuex.esm.js?2f62:840
commitIterator @ vuex.esm.js?2f62:462
eval @ vuex.esm.js?2f62:461
_withCommit @ vuex.esm.js?2f62:620
commit @ vuex.esm.js?2f62:460
boundCommit @ vuex.esm.js?2f62:405
local.commit @ vuex.esm.js?2f62:792
dataSourceManager @ data-source.js?99e2:9
wrappedActionHandler @ vuex.esm.js?2f62:847
dispatch @ vuex.esm.js?2f62:512
boundDispatch @ vuex.esm.js?2f62:402
local.dispatch @ vuex.esm.js?2f62:775
mappedAction @ vuex.esm.js?2f62:1060
manageDataSource @ data-source.js?ef38:118
eval @ data-source.js?ef38:213
Promise.then (async)
ok @ data-source.js?ef38:206
invokeWithErrorHandling @ vue.runtime.esm.js?2b0e:1854
invoker @ vue.runtime.esm.js?2b0e:2179
invokeWithErrorHandling @ vue.runtime.esm.js?2b0e:1854
Vue.$emit @ vue.runtime.esm.js?2b0e:3888
Vue.<computed> @ backend.js:2692
Vue.<computed> @ backend.js:2692
Vue.<computed> @ backend.js:2692
Vue.<computed> @ backend.js:2692
Vue.<computed> @ backend.js:2692
handleOk @ Modal.js?1759:136
invokeWithErrorHandling @ vue.runtime.esm.js?2b0e:1854
invoker @ vue.runtime.esm.js?2b0e:2179
invokeWithErrorHandling @ vue.runtime.esm.js?2b0e:1854
Vue.$emit @ vue.runtime.esm.js?2b0e:3888
Vue.<computed> @ backend.js:2692
Vue.<computed> @ backend.js:2692
Vue.<computed> @ backend.js:2692
Vue.<computed> @ backend.js:2692
Vue.<computed> @ backend.js:2692
handleClick @ button.js?18f4:124
invokeWithErrorHandling @ vue.runtime.esm.js?2b0e:1854
invoker @ vue.runtime.esm.js?2b0e:2179
original._wrapper @ vue.runtime.esm.js?2b0e:6917

环境描述/版本信息 (请完成如下信息)

  • OS: Mac
  • Browser chrome
  • Node 12.21.0
  • 本地开发版本

如何复现
复现步骤
1.新建一个界面
2.添加数据源,点击ok时报错
3.打开控制台看报错

预期结果
能添加数据源,并稳定访问

截图
WechatIMG7

@ly525 ly525 closed this as completed in 4d93cf1 May 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant