[发布优惠券提货券index报错]

This commit is contained in:
2021-10-20 16:37:18 +08:00
parent 6b2293f8eb
commit d69486541b
9 changed files with 1834 additions and 6 deletions

View File

@@ -0,0 +1,20 @@
import VueCanvasPoster from './canvas-poster'
export function install(Vue) {
Vue.component('vue-canvas-poster', VueCanvasPoster)
}
export { VueCanvasPoster }
const myPlugin = {
install
}
export default myPlugin
// Auto-install
let GlobalVue = null
if (typeof window !== 'undefined') {
GlobalVue = window.Vue
} else if (typeof global !== 'undefined') {
GlobalVue = global.Vue
}
if (GlobalVue) {
GlobalVue.use(myPlugin)
}