define(['vue', 'component', 'ELEMENT'], function (Vue, component, ELEMENT) { var Controller = { index: function () { Vue.use(component); Vue.use(ELEMENT); var data = { type: parseInt(Config.type), text: eval(Config.text), text_split: Config.text_split, deploy_type: parseInt(Config.deploy_type), selected: Config.selected ? Config.selected : {}, } var Main = { el: '#sign', data() { return data } }; new Vue(Main) } }; return Controller; });