去掉测试号

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

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

Loading…
Cancel
Save