修改了报错

This commit is contained in:
asd 2020-10-22 11:21:04 +08:00
parent 1541b869d0
commit bf3ba7228e
3 changed files with 6 additions and 6 deletions

View File

@ -12,7 +12,7 @@ import { del, get, post, put, setToken } from './base'
* @param password
*/
export async function loginpass(phone: string, password: string,type?:number,smscode?:string){
export async function loginpass(phone: string, password: string,type?: number,smscode?: string){
let newdata={}
if(type==1){
newdata={type:type?type:2,username: phone, smscode: smscode}
@ -595,7 +595,7 @@ export async function getquhaolist() {
/**
*
*/
export async function getzonelist():Promise<any>{
export async function getzonelist(): Promise<any>{
const res=await get("timezones")
// console.log(res)
return res.data
@ -796,7 +796,7 @@ export async function cancellive(id: number, status: number){
/**
*
*/
export async function changetel(e:string) {
export async function changetel(e: string) {
const res = await put(`member/${store.state.userinfo.memberid}`,{mobile:e});
console.log(res)
if(res.code == 0){

View File

@ -233,9 +233,9 @@ export default defineComponent({
}
}, 1000);
};
function getquhao(e ?:any){
function getquhao(e?: any){
console.log(e)
myquhao.value=e.toString()
myquhao.value = e.toString()
console.log(myquhao.value)
}
function login(): void {

View File

@ -443,7 +443,7 @@ export default defineComponent({
}
}
}
function getquhao(e ?:any){
function getquhao(e?: any){
console.log(e)
myquhao.value=e.toString()
}