Commit a29d2d96 by yancanhua

feat: 代码还原

1 parent eec22dc5
Pipeline #78 for a29d2d96 failed in 0 seconds
......@@ -5,7 +5,6 @@ import { getInspectDetail } from "@/api/modules/user";
import PageTop from "@/components/PageTop.vue";
import { useUserStore } from "@/stores";
import { showToast } from "vant";
import customizeForm from "@/components/customizeForm/Index.vue";
const userStore = useUserStore();
......@@ -41,21 +40,6 @@ async function onLogout() {
onMounted(fetchInspectDetail);
onActivated(fetchInspectDetail);
const model = ref([{
interactionType: "text_input",
required: 1,
nodeName: "name",
placeholder: "请输入",
value: "",
maxCount: 10,
}]);
const customizeFormRef = ref();
async function handleSubmit() {
const res = await customizeFormRef.value.validate();
console.log('111111111111111111111111111111', res);
}
watch(
() => userStore.token,
......@@ -111,15 +95,6 @@ watch(
</div>
</div>
<!-- 自定义表单 -->
<div style="width: 100%;float: left;">
<customizeForm ref="customizeFormRef" :model="model" />
</div>
<van-button round block type="primary" @click="handleSubmit()" native-type="submit">
提交
</van-button>
<!-- 退出登录 -->
<div class="logout-wrap">
<van-button block
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!