alaska-field-relationship
Advanced tools
Comparing version 0.11.12 to 0.11.14
10
index.js
@@ -19,2 +19,5 @@ // @flow | ||
options.title = Model.title; | ||
if (!options.service && Model.service) { | ||
options.service = Model.service.id; | ||
} | ||
} | ||
@@ -30,3 +33,3 @@ }]; | ||
model: string; | ||
ref: void | Class < Alaska$Model > ; | ||
ref: void | Class < Alaska$Model >; | ||
optional: boolean; | ||
@@ -78,3 +81,6 @@ | ||
this.service = ref.service.id; | ||
if (ref.service) { | ||
// 模型已经初始化 | ||
this.service = ref.service.id; | ||
} | ||
this.model = ref.name; | ||
@@ -81,0 +87,0 @@ } else { |
{ | ||
"name": "alaska-field-relationship", | ||
"version": "0.11.12", | ||
"version": "0.11.14", | ||
"description": "Alaska relationship field", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15745
534