为什么在vue自定义服务的时候出现了错误

为什么在vue自定义服务的时候,说没有获取到gxq这个名称图片说明1_237606.png)

你写错了吧...
Vue.directive()
不是Vue.directive = ()

图片说明图片说明