- 博客(12)
- 资源 (3)
- 收藏
- 关注
原创 vue2.6+ant-design-vue1.7.3 升级 Vue3.0.11 + antd-vue2.1.2
起因: 最近要搭建一个项目,由于之前在极客时间买过唐金州老师的课,所以技术选型为vue+antdv,但是课程 中用的版本为vue2.x + antv1.x版本,所以想搞下升级 踩了一些坑,记录一下哈哈网上搜出很多vue2升3,实际上升级的是vueCLI版本,过程:首先第一步肯定是npm uninstall ant-design-vue,然后npm install ant-design-vue@next(装最新版),并期待好用(笑),但是那是不可能的。。。发现报了一个peer的错,具体的
2021-05-14 15:35:09 6569 3
原创 [email protected]的vue.config.js配置
7.3版本:module.exports = { css: { loaderOptions: { less: { lessOptions: { javascriptEnabled: true} } } }, }5.0.0版本:module.exports = { css: { loaderOptions: { less: { // 这里的选项会传递给 css-loader
2021-05-10 10:30:29 2125
原创 vscode基础eslint +prettier配置
个人eslint prettier配置eslintrc.js配置settings.json配置(安装Prettier - Code formatter插件)项目根目录下的eslintrc.js文件是eslint检查项,prettier是一个代码格式化工具,需要先设置检查项,再按照检查项编辑prettier工具的配置eslintrc.js配置module.exports = { root: true, env: { node: true }, extends: ['plugin
2021-02-23 15:20:51 624
原创 vue3、vue2 的 main.js 文件区别
vue3、vue2 的 main.js 文件区别vue2:import Vue from 'vue'import App from './App.vue'import Vue from './router'import store from './store'//引入Element-uiimport ElementUI from 'element-ui'Vue.config.productionTip = false;Vue.use(ElementUI)Vue.prototype.$
2021-01-06 15:49:50 3303
原创 单步调试 step into/step out/step over 区别(转)
step into:单步执行,遇到子函数就进入并且继续单步执行(简而言之,进入子函数);step over:在单步执行时,在函数内遇到子函数时不会进入子函数内单步执行,而是将子函数整个执行完再停止,也就是把子函数整个作为一步。有一点,经过我们简单的调试,在不存在子函数的情况下是和step into效果一样的(简而言之,越过子函数,但子函数会执行)。step out:当单步执行到子函数内时,用step out就可以执行完子函数余下部分,并返回到上一层函数。————————————————原文链接:ht
2020-07-04 09:20:24 341
原创 html 的table表格和iview的Table加斑马纹
html的table :<table class="table1"> ........ </table> <style> .table1 { tr:nth-child(even) { background: #f1f1f1; } } </style>ivew的 Table :标签里直接加 stripe属性
2020-06-28 08:16:45 860
原创 vue中用window.open弹出新标签页,且原始页面过滤条件不变
一.快照中点“搜索”,弹出新标签页,且原始页面过滤条件不变原来的逻辑是子类evePhotoModal.vue直接把filter $emit给父类event.vue,父类中直接setRules(filter)做DOM操作 思路: 1.evePhotoModal.vue中: (1) handleSelectEve()函数 this.modal应该是类似于dialog.visable 控制对话框的显示/隐藏, 这里改为“true”,需求是点完搜索也不关闭 (2
2020-06-24 15:56:43 1324
原创 git 远程Gitlab 相关操作
git clone 克隆Gitlab代码 0. git remote add origin [email protected]:root/Ndlp_front.git 1. 新建文件夹 -> git init ->git clone [email protected]:root/Ndlp_front.git 新建文件夹下出现 项目名称, 2. 进入项目名称的文件夹, ...
2020-06-24 15:39:14 393
原创 关于$emit的用法(转)
原文:https://www.jianshu.com/p/d9ea3bef858b1、父组件可以使用 props 把数据传给子组件。2、$emit子组件调用父组件的方法并传递数据父组件 $emitFa.vue:<template> <div> <div>$emit子组件调用父组件的方法并传递数据</div> <h1>父组件数据:{{msg}}</h1> <emit-ch @updateInfo=
2020-06-15 16:12:11 2261
原创 navicat能登陆mysql,但是忘记密码了(已解决)
navicat能登陆mysql,但是忘记密码了(已解决)我的问题比较特殊,mysql很久不用了,然后跑一个脚本需要mysql密码,navicat以前保存的能登进去,但是就是把密码忘了,黑斜体是我的操作过程和结果借鉴了一位前辈的解决办法:https://www.cnblogs.com/feiyangbaqingchun/p/9751184.html1.select user,host,au...
2020-03-31 21:36:10 5132 1
原创 解决:Failed to get convolution algorithm. This is probably because cuDNN failed to initialize
解决报错"Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so trylooking to see if a warning log message was printed above. [Op:Conv2D]"代码块前面加上三行:physical_devic...
2019-12-01 00:19:22 1271 3
原创 win10 rtx2060 安装cuda10.1 + cudnn7.6 + tensorflow2.0-gpu
win10 rtx2060 安装tensorflow2.01.选择合适的cuda和cudnn版本2.下载相应版本的CUDA 和CUDNN3.安装cuda和cudnn4.安装tensoflow5.测试tensoflow安装是否成功1.选择合适的cuda和cudnn版本 tensorflow的github: https://github.com/fo40225/tensorflow-window...
2019-11-30 18:17:14 5580
kodi-18.6-Leia-arm64-v8a.apk
2020-06-28
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人