- 博客(17)
- 收藏
- 关注
原创 使用unplugin-vue-component的Vue项目,组件引入报错:Module not found: Error: [CaseSensitivePathsPlugin] xxx的解决方案
解决报错:Module not found: Error: [CaseSensitivePathsPlugin] `/Users/xxx/src/components/ListItem/richList.vue` does not match the corresponding path on disk `RichList.vue`.
2023-02-21 13:31:04
4770
原创 macOS升级npm版本以及遇到permission denied报错的解决办法
在macOS终端或VSCode运行npm命令的时候,可能会遇到提示有新的npm版本需要更新,如下图所示:按照提示更新npm,有可能遇到会更新失败的情况,提示如下:原因是没有权限执行导致更新失败,可以使用sudo命令以系统管理者的身份执行指令。sudo npm install -g npm更新后,运行如下指令查询npm版本,确认是否成功。npm -v操作过程如下图:...
2022-04-06 11:03:11
3212
1
原创 解决Element中el-empty不显示图片,控制台报错的问题
最近,在开发中用到了空状态组件el-empty,调试时发现空状态时的占位并没有显示出来,并在控制台中报错如下:[Vue warn]: Unknown custom element: <el-empty> - did you register the component correctly? For recursive components, make sure to provide the "name" option.解决办法:项目中已经全局引用了element,经查询发现是现有的.
2022-03-03 10:33:59
6929
原创 Bracket Pair Colorizer is no longer being maintained.
最近升级vscode之后,打开编辑器会弹出一个提醒“Bracket Pair Colorizer is no longer being maintained.”,提示的是不再维护Bracket Pair Colorizer。查阅后,发现后续版本的vscode将该功能内置,之后不再维护这个插件。在该项目的github仓库中“https://github.com/CoenraadS/BracketPair#readme”中可查看原文如下:vscode启动原生括号匹配的配置:settings.js
2022-01-06 09:49:43
6557
3
原创 angularjs引入ueditor报错zeroclipboard is not defined的解决办法
在使用angularjs的项目中引入ueditor编辑器,页面加载后,控制台出现如下错误:解决的办法如下:1. 修改源码找到路径为ueditor.../third-party/zeroclipboard/ZeroClipboard.js,找到下图所示代码:将该段代码改为如下所示:if (typeof define === "function" && define.amd) { define(function() { return Zero
2021-09-10 09:40:05
841
原创 Delete `␍` prettier/prettier,Delete `⏎` prettier/prettier
warning Delete `␍` prettier/prettiererror Delete `⏎` prettier/prettier这个问题是结尾换行符引起的在vscode中能查看当前换行符的类型解决的办法1. 执行命令自动修复问题npm run lint --fix2. 在eslint配置规则...
2021-07-24 11:12:30
4815
原创 macOS系统中修改用户头像点击照片时显示未找到照片,且图库中有照片的解决办法
最近,再mac中操作照片App的时候,不小心把图库删除了,之后重新创建图库后,修改用户头像的时候,发现照片选项中显示未找到,解决办法如下:1. 打开照片App,找到偏好设置2. 点击下图中“用作系统照片图库”,再次修改头像的时候,照片就会显示出来。...
2020-03-10 10:35:09
14894
2
原创 Simply Linked Implementation remove函数
templateError_code List::remove(int position,const List_entry &x){if(count==0)return underflow;if(position=count)return range_error;
2013-09-29 21:59:39
433
原创 Contiguous Implementation remove函数
templateError_code List::remove(int position, const List_entry &x){if(empty())return underflow;if(position>0||positiondelete x;return success;}
2013-09-22 20:33:42
422
原创 Exercises4.2E2(a)4.3E2
E2(a)//int Stack::size()const{Node *temp = top_node;int count = 0;while(temp!=NULL){temp = temp->next;count++;}return 0;}E2://赋值top_node = new_copy.top_node离开前的节点左边的赋值运算符作为垃圾。另
2013-09-11 20:59:38
420
原创 队列的示范和调试
#include#includeusing namespace std;bool do_command(char c,Extended_queue &test_queue){ bool continue_input = true; Queue_entry x; switch(c){ case 'a'://追加下一个输入字符的扩展的队列 cont b
2013-09-04 21:27:09
524
原创 数据结构队列Exercises4.1E1,E2
draw a diagram to illustrate the configuration of linked nodes that is created by the following statements(根据下列语句画一个图来说明链接节点的配置)Node *p0 = new Node('0');Node *p1 = p0->next = new Node('1');Node
2013-09-04 19:18:07
451
原创 Exercises2.2 E2(use stack method)
Error_code copy_stack(Stack &dest, Stack &source);/*Pre: None. Post: Stack dest has become an exact copy of Stack source; source is unchanged. if an error is detected, an appropriate code is re
2013-08-28 20:16:12
328
原创 Exercises2.1 E4(how many permutations can be obtained by using stack)
The answer ofdata structures and ptogram design in C++,Exercses2.1;E4(a)For n = 3,all possible permutations is 123,132,213,231,321;(b)For n = 4,all possible permutations is 1234,1243,1324,1342,143
2013-08-23 21:17:27
506
原创 Summarizes chapter one of datastructures and program design in C++
Summarizes chapter one of datastructures and program design in C++ The chapter one has summarizes importantprinciples of good programming aim at large projects, and introduces somemethods for d
2013-08-20 20:54:20
547
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人