修改前,调试工具里面没有Pinia模块

在项目的入口文件mian.js中这样修改

//createApp(App).use(pinia)
//createApp(App).mount('#app')
//修改为
createApp(App).use(pinia).mount('#app')