af-mobile-client-vue3 1.5.70 → 1.5.72

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "af-mobile-client-vue3",
3
3
  "type": "module",
4
- "version": "1.5.70",
4
+ "version": "1.5.72",
5
5
  "packageManager": "pnpm@10.13.1",
6
6
  "description": "Vue + Vite component lib",
7
7
  "engines": {
@@ -243,6 +243,7 @@ async function setupFormConfig(config: GroupFormItems) {
243
243
  isKeyHandle.value = config.isKeyHandle
244
244
  myServiceName.value = props.serviceName || undefined
245
245
  formGroupName.value = config.groupName || 'default'
246
+ console.warn('config', formConfig.value)
246
247
  // 清理并重新设置验证规则
247
248
  setupValidationRules()
248
249
  }
@@ -705,6 +705,11 @@ function init() {
705
705
  initRadioValue()
706
706
  }
707
707
  }
708
+ else if (attr.keys && Array.isArray(attr.keys)) {
709
+ option.value = attr.keys
710
+ if (attr.type === 'radio')
711
+ initRadioValue()
712
+ }
708
713
  }
709
714
 
710
715
  // 根据selectValueType预处理options数据
@@ -1,9 +1,9 @@
1
1
  <script setup lang="ts">
2
+ import { getDeviceState } from '@af-mobile-client-vue3/api/map/trackApi'
3
+ import XOlMap from '@af-mobile-client-vue3/components/data/XOlMap/index.vue'
2
4
  import NormalDataLayout from '@af-mobile-client-vue3/components/layout/NormalDataLayout/index.vue'
3
5
  import { showNotify } from 'vant'
4
6
  import { onMounted, ref } from 'vue'
5
- import { getDeviceState } from '~root/src/api/map/trackApi'
6
- import XOlMap from '../../../components/data/XOlMap/index.vue'
7
7
  import { polygonTestData, trackTestData } from './testData'
8
8
  import 'vant/lib/index.css'
9
9