|
|
@@ -59,7 +59,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
-import { reactive, ref, computed, shallowRef } from 'vue'
|
|
|
+import { reactive, ref, computed, shallowRef, onMounted } from 'vue'
|
|
|
import { CellGroup, Button, Field, Form, FormInstance, showFailToast, FieldRule } from 'vant'
|
|
|
import { useCountDown } from '@vant/use'
|
|
|
import { fullloading, dialog } from '@/utils/vant'
|
|
|
@@ -254,4 +254,10 @@ const formSubmit = () => {
|
|
|
})
|
|
|
})
|
|
|
}
|
|
|
+
|
|
|
+onMounted(() => {
|
|
|
+ if (openMethodList.length) {
|
|
|
+ selectedMethod.value = openMethodList[0].value
|
|
|
+ }
|
|
|
+})
|
|
|
</script>
|