free-fe-core-modules 0.1.36 → 0.1.37

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.
@@ -20,15 +20,15 @@
20
20
  class="data-scope">
21
21
  <free-field
22
22
  v-for="(scope, index) in Service.Scope"
23
- :key="index"
23
+ :key="scope.Field || scope.Name || scope.Label || index"
24
24
  :Field="{
25
25
  Type: 'Select',
26
26
  Label: scope.Label,
27
- Name: `Scope.${scope.Field}`,
27
+ Name: `Scope.${scope.Field || scope.Name}`,
28
28
  Options: scope.Options || [],
29
29
  Multiple: scope.Multiple || false,
30
30
  }"
31
- :values="fieldData"
31
+ :values="fieldData.value"
32
32
  @input="scopeChanged"
33
33
  />
34
34
  </div>
@@ -149,7 +149,7 @@ export default defineComponent({
149
149
  })
150
150
 
151
151
  return {
152
- fieldData: fieldData.value,
152
+ fieldData,
153
153
  hasThis,
154
154
  childUpdated,
155
155
  scopeChanged,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "free-fe-core-modules",
3
- "version": "0.1.36",
3
+ "version": "0.1.37",
4
4
  "main": "index.js",
5
5
  "repository": "https://github.com/freeeis/free-fe-core-modules.git",
6
6
  "author": "zhiquan",