vipsubscribedelay.js 568 B

123456789101112131415161718192021
  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. data: eval(Config.data),
  8. mini_open:Config.mini_open,
  9. };
  10. console.log(data)
  11. var Main = {
  12. el: '#app',
  13. data: function() {
  14. return data
  15. }
  16. };
  17. new Vue(Main)
  18. }
  19. };
  20. return Controller;
  21. });