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.
iot/projects/IoTCenter/wwwroot/index.js

20 lines
592 B

function IoTCenter_index() {
return Vue.component('IoTCenter_index', function (resolve, reject) {
axios.get("/IoTCenter/index.html").then(function (response) {
resolve({
template: response.data,
data() {
return {
name: 'home'
};
},
mounted: function () {
console.log('mounted');
weui.tab('#tab');
},
methods: {
}
})
});
});
}