无标题文章

2020-02-28  本文已影响0人  一样的你不一样的付出

//------------------------------------------------------------------------------

let $$vue,$$sendInput201,$$sendInput202,$$sendInput203,$$sendInput204,$$sendInput205,$$init;

document.addEventListener('DOMContentLoaded', function() {

$$vue = new Vue({

  el : '#middle',

  data : store,

  methods : methods,

});

});

//------------------------------------------------------------------------------

//HTML読み込み完了+WebSocket接続完了時

//------------------------------------------------------------------------------

Tack.ready(function() {

  setInterval(function() {

    $$init.get();

    }, 3000);

  // 初期表示要求

  $$init = Tack.bind({

    oncompile : {

      after : function() {

        this.vue = $$vue;

      },

    },

    selector : {

      key : '0_MM16/101@C=' + common.clientid

    },

    binding : {

      data : store

    },

    onmessage : {

      after : function() {

      store.initcount++;

      Tack.bind({

        oncompile : {

          after : function() {

            this.vue = $$vue;

          }

        },

        selector : {

          key : this.selector.key.replace(/@.*/, '')

        },

        binding : {

          data : store

        },

        addition : {

          get : {

            getonly : true

          }

        },

      });

    },

  },

});

上一篇 下一篇

猜你喜欢

热点阅读