2024-07-12 14:27:34 +08:00

25 lines
474 B
TypeScript

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