You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
852 B
27 lines
852 B
function pchome() {
|
|
return Vue.component('pchome', function (resolve, reject) {
|
|
axios.get("/pchome.html").then(function (response) {
|
|
resolve({
|
|
template: response.data,
|
|
data() {
|
|
return {
|
|
model: null
|
|
};
|
|
},
|
|
mounted: function () {
|
|
console.log('mounted:home');
|
|
weui.tab('#tab', { defaultIndex: 1 });
|
|
var url = '/UserCenter/api/v1/Token/GetUserInfo';
|
|
axios.get(url)
|
|
.then(function (response) {
|
|
|
|
})
|
|
.catch(function (error) {
|
|
})
|
|
},
|
|
methods: {
|
|
}
|
|
})
|
|
});
|
|
});
|
|
} |