af-mobile-client-vue3 1.5.79 → 1.5.80
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
|
@@ -105,7 +105,7 @@ function formatNumberLike(val: string | number, digits: number): string {
|
|
|
105
105
|
</script>
|
|
106
106
|
|
|
107
107
|
<template>
|
|
108
|
-
<span class="x-badge" :class="className !== '' ? className : undefined">{{ label }}
|
|
108
|
+
<span class="x-badge" :class="className !== '' ? className : undefined">{{ label }}</span>
|
|
109
109
|
</template>
|
|
110
110
|
|
|
111
111
|
<style scoped lang="less">
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import XForm from '@af-mobile-client-vue3/components/data/XForm/index.vue'
|
|
3
3
|
import NormalDataLayout from '@af-mobile-client-vue3/components/layout/NormalDataLayout/index.vue'
|
|
4
4
|
|
|
5
|
+
import router from '@af-mobile-client-vue3/router'
|
|
5
6
|
import { ref } from 'vue'
|
|
6
7
|
|
|
7
8
|
const configName = ref('AddConstructionForm')
|
|
@@ -13,6 +14,7 @@ const formGroupAddConstruction = ref(null)
|
|
|
13
14
|
const previewMapRef = ref(null)
|
|
14
15
|
function onSubmit(data: any) {
|
|
15
16
|
console.warn('提交表单', data)
|
|
17
|
+
router.back()
|
|
16
18
|
}
|
|
17
19
|
function onAddressChange(data: any) {
|
|
18
20
|
console.warn('表单新增数据变化', data)
|