注册插件

    • 首先判断插件是否已经注册过了,如果注册过了不用重新注册了
    • 如果没有注册,则调用插件的install方法,并且把插件push到Vue.installPlugins中保存起来