1
我使用Loopback v3,當我嘗試引用另一個模型 時,例如。 customer.js,與Loopback 3應用程序對象未定義?
module.exports = function(Customer) {
var Product = Customer.app.models.Product;
它崩潰說
TypeError: Cannot read property 'models' of undefined
有什麼想法?