去掉测试号

bak
Dragon 1 year ago
parent d8859d2e1d
commit f53a242a48

3
components.d.ts vendored

@ -26,6 +26,7 @@ declare module 'vue' {
NGi: typeof import('naive-ui')['NGi'] NGi: typeof import('naive-ui')['NGi']
NGrid: typeof import('naive-ui')['NGrid'] NGrid: typeof import('naive-ui')['NGrid']
NGridItem: typeof import('naive-ui')['NGridItem'] NGridItem: typeof import('naive-ui')['NGridItem']
NIcon: typeof import('naive-ui')['NIcon']
NImage: typeof import('naive-ui')['NImage'] NImage: typeof import('naive-ui')['NImage']
NInput: typeof import('naive-ui')['NInput'] NInput: typeof import('naive-ui')['NInput']
NMessageProvider: typeof import('naive-ui')['NMessageProvider'] NMessageProvider: typeof import('naive-ui')['NMessageProvider']
@ -42,6 +43,8 @@ declare module 'vue' {
NTabPane: typeof import('naive-ui')['NTabPane'] NTabPane: typeof import('naive-ui')['NTabPane']
NTabs: typeof import('naive-ui')['NTabs'] NTabs: typeof import('naive-ui')['NTabs']
NTag: typeof import('naive-ui')['NTag'] NTag: typeof import('naive-ui')['NTag']
NTimeline: typeof import('naive-ui')['NTimeline']
NTimelineItem: typeof import('naive-ui')['NTimelineItem']
NTooltip: typeof import('naive-ui')['NTooltip'] NTooltip: typeof import('naive-ui')['NTooltip']
NUpload: typeof import('naive-ui')['NUpload'] NUpload: typeof import('naive-ui')['NUpload']
NUploadDragger: typeof import('naive-ui')['NUploadDragger'] NUploadDragger: typeof import('naive-ui')['NUploadDragger']

@ -41,8 +41,8 @@ const formInline: FormState = reactive({
}) })
const formSms: FormSms = reactive({ const formSms: FormSms = reactive({
agentcode: '三方系统标识8', agentcode: '',
phone: '13311111111', phone: '',
phonecode: '', phonecode: '',
}) })
const tab = ref(0) const tab = ref(0)
@ -153,13 +153,16 @@ function computedForm() {
} }
async function sendCode(value) { async function sendCode(value) {
if (!formSms.phonecode)
return
if (!flag.value) if (!flag.value)
return return
flag.value = false flag.value = false
const res = await getCode({ const res = await getCode({
phone: 13311111111, phone: formSms.phone,
agentcode: '三方系统标识8', agentcode: '',
}) })
startCount() startCount()
} }

Loading…
Cancel
Save