自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 SDK证书安装失败Flutter

Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!Android sdkmanager not found. Update to the latest Android SDK and ensure that the cmdline-tools are installed toresolve this

2022-09-21 22:03:59 1204 1

原创 运行ts文件时报错:return new TSError(diagnosticText, diagnosticCodes)

npm i -g typescriptnpm i -g ts-node这两个都安装好了,ts-node 命令运行ts文件报错再npm install -D tslib @types/node就可以了

2021-11-06 17:23:04 1336

原创 Navicat连不上mysql

Navicat连不上mysql,报错cmd登录数据库之后,这两条语句:update user set host="%" where user="root"and host="localhost";alter user 'root'@'%' identified with mysql_native_password by'密码';刷一遍就行了,刷之前记得先use mysql...

2021-10-06 19:17:43 138

原创 vue点击图片预览,使用v-viewer插件

在学习过程中,想把缩略图点击可以放大查看,了解到v-viewer这个插件第一步当然是安装插件npm install v-viewer --save在main.js中引入插件import Viewer from 'v-viewer'import 'viewerjs/dist/viewer.css'//vue.use的配置是参考的 https://github.com/mirari/v-viewerVue.use(Viewer, { Options: { 'inline': tru

2021-06-29 14:03:48 1367

原创 使用Element-UI中报错 [Vue warn]: Duplicate keys detected: ‘tab-secend‘. This may cause an update error

vue.runtime.esm.js?2b0e:619 [Vue warn]: Duplicate keys detected: ‘tab-secend’. This may cause an update error.注意:lable和name不能是一样的,所以才会报这个错误

2021-06-23 14:56:11 677

原创 vue-router路由拦截器判断用户是否登录

使用vue-router提供的router.beforeEach来注册一个全局路由拦截router.beforeEach(async (to, from, next) => { const _to = JSON.parse(localStorage.getItem('_to')); //不需要登录的直接放行 if (to.meta.requiresAuth === false) { next() //如果页面需要登录,且登录失效,进入登录页面 } else if (!

2021-06-22 21:45:12 974

原创 vue.runtime.esm.js?2b0e:619 [Vue warn]: Property “XX“ must be accessed with “$data._tos“ because

vue.runtime.esm.js?2b0e:619 [Vue warn]: Property “tos" must be accessed with “data.tos"becausepropertiesstartingwith"data._tos" because properties starting with "data.t​os"becausepropertiesstartingwith"” or "” are not proxied in the Vue instance to prevent

2021-06-14 20:00:35 2553

原创 Proxy error: Could not proxy request XX from XX to XX

Proxy error: Could not proxy request /api from localhost:8080 to localhost:3000.See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ENOTFOUND).昨天请求数据还好好的,今天就。。。。挺突然的我的vue项目开启的是8080端口,服务器为3000端口,两个服务都是本机运行vue.config.

2021-05-28 10:09:00 2724

原创 react-native 创建底部导航

react-native 创建底部导航使用createBottomTabNavigator安装依赖根据官方文档的提示,需要确保有:"@react-navigation/native"及其依赖项和@react-navigation/material-bottom-tabs"以下是我的: "dependencies": { "@react-native-community/masked-view": "^0.1.11", "@react-navigation/bottom-tab

2021-05-23 14:23:44 346 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除