Commit ac62bbf1 authored by tanjuanjuan's avatar tanjuanjuan

测试

parent cb82fc2d
......@@ -5,6 +5,8 @@
<wd-icon name="close" size="22px"></wd-icon>
</template>
</wd-navbar>
{{test}}
{{test1}}
<view class="container" v-if="formFlag">
<wd-form ref="form" :model="model" :rules="rules">
<wd-cell-group border>
......@@ -70,6 +72,7 @@
import type { FormRules } from 'wot-design-uni/components/wd-form/types';
import dayjs from 'dayjs';
const test = ref()
const test1=ref()
const form = ref()
const formFlag = ref(true)
let submitstr = ""
......@@ -162,6 +165,7 @@
convertToJson()
console.log("****")
console.log(submitstr)
test.value=submitstr
xma.request({
url: "back/one-visit/one-visit/web/ybVisit/ybSgySm2",
method: "POST",
......@@ -172,6 +176,7 @@
},
success: (res) => {
console.log("***")
test1.value=res
console.log(res.data?.biz_data?.body?.data?.data)
results.value = res.data?.biz_data?.body?.data?.data || []
formFlag.value = false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment