在Apigility管理员我正在尝试使用“DB Connected”选项生成新服务,但在加载所有数据库表后,我选择一个并单击“创建服务”.我在控制台中收到错误,如下图所示:
[Error] Error: undefined is not an object (evaluating 'e.rest.table_name')
ok@http://localhost:8888/apigility-ui/c22d22af.apigility.js:1:11687
http://localhost:8888/apigility-ui/6a8334db.vendor.js:6:18549
e@http://localhost:8888/apigility-ui/6a8334db.vendor.js:6:25924
$eval@http://localhost:8888/apigility-ui/6a8334db.vendor.js:5:34068
$apply@http://localhost:8888/apigility-ui/6a8334db.vendor.js:5:34351
http://localhost:8888/apigility-ui/6a8334db.vendor.js:6:25981
dispatch@http://localhost:8888/apigility-ui/6a8334db.vendor.js:2:14429
handle@http://localhost:8888/apigility-ui/6a8334db.vendor.js:2:11204
(anonymous function) (6a8334db.vendor.js, line 5)
(anonymous function) (6a8334db.vendor.js, line 4)
$apply (6a8334db.vendor.js, line 5)
(anonymous function) (6a8334db.vendor.js, line 6)
dispatch (6a8334db.vendor.js, line 2)
handle (6a8334db.vendor.js, line 2)
该服务未创建.
有人知道我该如何解决它?
最佳答案 目前,可以使用dev-master解决此问题,而不会发布版本1.3.2.只需在项目的composer.json中的“require-dev”部分添加“zfcampus / zf-apigility-admin-ui”:“dev-master”行.参考:github.com/zfcampus/zf-apigility-admin/issues/307