1. 报错slot
slot` attributes are deprecated.
改成了
<el-dropdown-menu> <slot name="dropdown"> <el-dropdown-item>我的消息</el-dropdown-item> <el-dropdown-item>设置</el-dropdown-item> <el-dropdown-item divided @click="logout" >退出登录</el-dropdown-item > </slot> </el-dropdown-menu>
2、ts 引入 js文件报错
https://blog.csdn.net/a1059526327/article/details/110387567
3. vue3.0 不在支持native
https://blog.csdn.net/qq_33891000/article/details/111678309