摘要: node exprss写代码 //example.js import { xxx } from '@aaa' aaa = new aaa(); ... // 其它使用的地方 ,例如 app.js,会出错 Cannot use import statement outside modules requ 阅读全文
posted @ 2021-11-27 17:15 正版软件开发 阅读(100) 评论(0) 推荐(0) 编辑
摘要: k-form-design 默认只有中文,支持多语言需要引入 i18n http://kcz66.gitee.io/k-form-design/#/zh-cn/guide/start?id=%e5%bf%ab%e9%80%9f%e4%b8%8a%e6%89%8b <script> // k-form 阅读全文
posted @ 2021-11-23 20:05 正版软件开发 阅读(436) 评论(0) 推荐(0) 编辑
摘要: 参考资料 https://vuejs.bootcss.com/cookbook/debugging-in-vscode.html https://blog.csdn.net/yezonggang/article/details/110070915 按这个也不能进入断点,需要在 launch.json 阅读全文
posted @ 2021-11-21 15:48 正版软件开发 阅读(292) 评论(0) 推荐(0) 编辑
摘要: 我在升级 vue 2.6.10 为 vue 2.6.14 出现这个错误, Syntax Error: TypeError: Cannot read property 'parseComponent' of undefined 尝试过移除node_module,package-lock.json无效 阅读全文
posted @ 2021-11-21 14:33 正版软件开发 阅读(2573) 评论(0) 推荐(0) 编辑
摘要: 读写分离, laravel会自动将"read"的操作向read服务器,"write"的访问write服务器 https://laravel.com/docs/5.5/database#configuration // config/database.php 配置读写,下面是2台读服务器,1台写 'm 阅读全文
posted @ 2021-11-04 22:24 正版软件开发 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 配置网络 18.04, 20.0.4 server版本 网上很多修改资料都无用,用下面这个就有效 sudo vim /etc/netplan/*.yaml network: ethernets: ens18: addresses: - 201.130.xx.xx/24 #表态ip设置,子网掩码 25 阅读全文
posted @ 2021-10-25 22:35 正版软件开发 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 在linux里面显示文件和文件夹的命令是 ls, 如果只要显示文件怎么做? ls -p | grep -v / -p表示目录要加"/"结尾 grep -v / 表示过滤"/"结尾的行 阅读全文
posted @ 2021-09-09 22:22 正版软件开发 阅读(769) 评论(0) 推荐(0) 编辑
摘要: https://docs.microsoft.com/zh-cn/dotnet/framework/network-programming/enabling-network-tracing启用网络跟踪// 在App.config 配置如下,主要是"<system.diagnostics> "这节,就 阅读全文
posted @ 2021-09-04 10:21 正版软件开发 阅读(190) 评论(0) 推荐(0) 编辑