会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
test
wzj421
博客园
首页
新随笔
联系
订阅
管理
2022年5月7日
vscode终端命令报错nodemon : 无法加载文件 D:\software\nodejs\nodemon.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/go.microsoft .com/fwlink/?LinkID=135170 中的 about_Execution_Policies。
摘要: 以前有设置过,但忘记了. 参考:https://blog.csdn.net/jiu_mu_mu/article/details/118712332 1. 管理员身份打开powershell 2. 输入 set-ExecutionPolicy RemoteSigned 3. 选择 y 回车
阅读全文
posted @ 2022-05-07 23:35 知其一不知其二
阅读(337)
评论(0)
推荐(0)
2021年9月23日
利用python的httpserver起服务器在局域网传文件
摘要: 1.安装python,并配置环境变量 2.新建文件夹并进入文件夹并把需要用到的文件放入其中 3.按住shift键,点击鼠标右键,点击 在此处打开powershell窗口 4.输入python -m http.server 8080 , 端口号8080可任意取也可去掉,默认8000 python -m
阅读全文
posted @ 2021-09-23 21:02 知其一不知其二
阅读(589)
评论(0)
推荐(0)
2021年9月1日
绳锯木断,水滴石穿
摘要: 2021年9月1日: 今天刚开学的第一个晚上,大家都跑去玩了,而我还在上晚自习! (1):class的几种使用方法 三元表达式 :class="[ isTrue?'class1':'class2' ]" 数组形式 :class="{'class1':true,'class2':false}" 类名可
阅读全文
posted @ 2021-09-01 21:18 知其一不知其二
阅读(88)
评论(0)
推荐(0)
2021年8月30日
sessionStorage.getItem('id')刷新页面取缓存失败
摘要: mounted () { this.init() }, methods: { init () { const id = this.$route.params.id console.log('id >', id); this.id= id sessionStorage.setItem('id', id
阅读全文
posted @ 2021-08-30 11:01 知其一不知其二
阅读(856)
评论(0)
推荐(0)
2021年8月29日
Vue父组件访问子组件的方法
摘要: 子组件方法 methods: { setNewMsg (val) { this.msg = val } } 父组件使子组件是加ref属性 <subassembly ref="subassembly" />this.$refs.subassembly.setNewMsg('父组件访问子组件方法')
阅读全文
posted @ 2021-08-29 23:51 知其一不知其二
阅读(82)
评论(0)
推荐(0)
公告
hello world!!!
这是页脚HTML代码位置