index.js 235 B

1234567891011121314
  1. import app_push from './app_push.js'
  2. const appPush = {
  3. install: function(Vue) {
  4. Vue.prototype.$appPush = function(op = {}) {
  5. console.log("进入appPush")
  6. new app_push({
  7. ...op
  8. }).show();
  9. }
  10. }
  11. }
  12. export default appPush