修改了报错
This commit is contained in:
parent
1541b869d0
commit
bf3ba7228e
@ -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){
|
||||
|
@ -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 {
|
||||
|
@ -443,7 +443,7 @@ export default defineComponent({
|
||||
}
|
||||
}
|
||||
}
|
||||
function getquhao(e ?:any){
|
||||
function getquhao(e?: any){
|
||||
console.log(e)
|
||||
myquhao.value=e.toString()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user