vipsignreply.js 701 B

1234567891011121314151617181920212223
  1. define(['vue', 'component', 'ELEMENT'], function (Vue, component, ELEMENT) {
  2. var Controller = {
  3. index: function () {
  4. Vue.use(component);
  5. Vue.use(ELEMENT);
  6. var data = {
  7. type: parseInt(Config.type),
  8. text: eval(Config.text),
  9. text_split: Config.text_split,
  10. deploy_type: parseInt(Config.deploy_type),
  11. selected: Config.selected ? Config.selected : {},
  12. }
  13. var Main = {
  14. el: '#sign',
  15. data() {
  16. return data
  17. }
  18. };
  19. new Vue(Main)
  20. }
  21. };
  22. return Controller;
  23. });