- 博客(14)
- 资源 (1)
- 收藏
- 关注
原创 Vue报错Duplicate keys found unique.
报错详情可能一、同级中只有一个v-for 但是这个for循环中的:key重复了可能二、同级中有两个v-for 两个for循环中的key重复了可能三、存在v-if我也不知道咋回事,删掉或者改成v-show就没有问题...
2022-03-04 17:58:46
2357
原创 setPrototypeOf 为对象设置原型链
const obj1 = {};const obj2 = { foo: 'bar' };Object.setPrototypeOf(obj1, obj2);const { foo } = obj1;foo // "bar"为obj1设置原型链是obj2obj1的foo属性找不到,就找他的原型链obj2
2022-01-21 10:43:22
2996
原创 Vue插槽
Vue插槽总结的B站阿婆主哈默的视频父组件传值到子组件父组件<template> <div id="parent"> <navigation-link url="www.baidu.com"></navigation-link> </div></template><script>import Child from "./child.vue";export default{
2021-10-19 18:15:59
85
原创 正则表达式校验YYYYMMDD日期格式
正则表达式校验YYYYMMDD日期格式https://blog.youkuaiyun.com/weixin_45839894/article/details/109199646结论((\d{3}[1-9]|\d{2}[1-9]\d|\d[1-9]\d{2}|[1-9]\d{3})(((0[13578]|1[02])(0[1-9]|[12]\d|3[01]))|((0[469]|11)(0[1-9]|[12]\d|30))|(02(0[1-9]|[1]\d|2[0-8]))))|(((\d{2})(0[48]|[2
2021-10-19 14:35:23
1558
原创 创建vue项目
在文件夹中Shift+右键输入命令vue-ui,打开可视化界面手动配置项目安装elementUInpm i element-ui -S 在main.js中引入 在main.js 中引入 /** 引入element */ import ElementUI from 'element-ui' import 'element-ui/lib/theme-chalk/index.css' Vue.use(ElementUI);再次启动项目的时候报错解
2021-05-30 20:47:05
91
原创 安卓报错Cannot resolve symbol ‘HttpLoggingInterceptor’
安卓报错Cannot resolve symbol ‘HttpLoggingInterceptor’只需在build.gradle中引入compile ‘com.squareup.okhttp3:logging-interceptor:3.4.1’再重新Sync Now然后引入就好了import okhttp3.logging.HttpLoggingInterceptor;
2021-03-18 15:14:10
512
原创 centOS7安装es数据库及常见问题解决方法,亲测ubuntu也好使
参考了几个博客总结出来的参考了https://blog.youkuaiyun.com/Asia1752/article/details/104505189/安装jdk环境【centOS中】1.查看centOS的jdk环境yum list installed |grep java如果出来的啥都没有,那就是啥都没有,直接安装就行了如果有东西要先卸载掉su root输入密码yum -y remove java-1.8.0-openjdk*yum -y remove tzdata-java*2.查看y
2020-11-24 12:10:01
671
原创 VMware esxi克隆虚拟机
VMware esxi是不能直接克隆虚拟机的,要先把想要克隆的虚拟机导出,再重新导入新创建的虚拟机1. 移除要克隆的虚拟机的CD-DVD驱动器编辑,点这里移除或者在esxi中点 编辑2. 关机后导出关机导出此处有可能出现.vmdk文件无法下载的问题解决方法:VMware OVF Tool下载地址注册后下载执行VMware OVF Tool:安装下载好的软件安装软件(记住安装地址)cmd进入安装路径,命令 cd 路径 比如 cd D:\master192.16
2020-11-11 16:35:08
2052
1
原创 centos7配置hadoop配置文件备份
core-site.xml<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="configuration.xsl"?><!-- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the
2020-11-11 15:54:09
506
1
原创 navcat连接mongodb报错[13][Unauthorized] command listDatabases requires authentication
navcat连接mongodb报错[13][Unauthorized] command listDatabases requires authentication:navcat连接mongodb报错navcat连接mongodb的配置::原因分析:应该加一个验证解决方案:这样配![在这里插入图片描述](https://img-blog.csdnimg.cn/20201106165906389.png?x-oss-process=image/watermark,type_ZmF
2020-11-06 16:59:43
4172
1
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人