2024-06-11 14:08:58 +08:00

22 lines
418 B
TypeScript

// e:\project\dy_video_all\dy_iaa_new_project\components\customerService\customerService.ts
import { httpRequest } from "../../utils/httpReques"
Component({
data: {
userInfo: {}
},
properties: {
},
attached() {
httpRequest('/user', 'POST').then((res: any) => {
if (res.status == 1) {
this.setData({
userInfo: res.data.info,
})
}
})
},
methods: {
}
})