global.domino = null global.window = null global.document = null global.location = null global.Vue = null global.VueRouter = null global.axios = null navigator = null require("./dist/index") var html = "\n\n\n \n Title\n\n\n
\n code : {{code}}\n
  • \n classifyer_id :{{ todo.classifyer_id }}\n name :{{ todo.name }}\n
  • \n
    \n\n" window = domino.createWindow(html, "http://127.0.0.1/#/detail/?id=123"); document = window.document; location = window.location; var vue = new Vue({ el: "#classifyer", data: function(){ return { code: 212123213123, data: [ { name: "1asdasdasd23" } ] } } }); console.log(document.innerHTML); Vue.axios.get('/user', { params: { ID: 12345 } }) .then(function (response) { console.log(response); }) .catch(function (error) { console.log(error); }) .then(function () { // always executed });