25 lines
474 B
TypeScript
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: {
|
|
|
|
}
|
|
}) |