logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

A plugin must either be a function or an object with an “install“ function.

问题: vue3 的插件需要install方法解决:检查main.ts 文件中 app.use()

#前端#vue.js#typescript
Invalid watch source: A watch source can only be a getter/effect function, a ref, a reactive object

[Vue warn]: Invalid watch source: A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.

#vue.js#前端
Set operation on key “visible“ failed: target is readonly.

vue3 报错 Set operation on key "visible" failed: target is readonly.变量visible只读属性,无法修改。解决:visible 改成响应式// 原先visible 从props.modal获取,const { modalData: { visible }} = props//修改const { modalData: { visible

#typescript#vue.js#前端 +1
upload上传文件 formData变成[object,object]

前端上传文件,浏览器里显示成file参数为[object ]形式,而不是(binary)

#前端#vue.js#javascript +1
【已解决】pnpm(Run “pnpm setup“ to create it automatically, or set the global-bin-dir setting, or the PNP

pnpm(Run “pnpm setup“ to create it automatically, or set the global-bin-dir setting, or the PNP

#vue.js#npm#node.js
到底了