VUE、JS
记录一些关于web前端的知识点 如 html css vue ajax 等
菜鸟小杰子
知行合一,乃为行胜于言。知之为知,行之方成事业。
展开
-
VUE 报错 <npm ERR! EPERM: operation not permitted, open ‘路径‘ >erron -4048
npm ERR! Error: EPERM: operation not permitted, open。。。。。原创 2022-07-25 13:49:53 · 7961 阅读 · 4 评论 -
window系统 node.js安装 (node-v14安装配置、node-v16及其他版本安装配置)
node-V14、node-v16及其他版本安装安装配置原创 2022-04-30 23:48:34 · 61545 阅读 · 8 评论 -
el-date-picker 动态设置时间段(动态设置7天)
<el-date-picker class="search-item" v-model="dataSE" style="width: 240px" value-format="yyyy-MM-dd" type="daterange" range-separator="-原创 2022-04-14 18:46:36 · 1448 阅读 · 0 评论 -
wangEditor富文本框值为空判断
wangEditor学习文档和代码如果在编辑器内,只输入空格和回车,编辑器会返回一堆无用的标签,但表单里认为当前项是有值的,比如:"    "我写了一个方法 进行空值判断/** * 判断editor富文本域是否为空 * str返回的值为"" 代表输入框里面有值 成功 * str返回!="" 代表里面有空格 回车 失败 * */ function checkVal(str) { let num = 0, reg原创 2020-07-31 16:32:58 · 6199 阅读 · 5 评论 -
Ajax加loading效果
页面添加一个div<div id="loadgif" style="position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);z-index:999999"> <img alt="加载中..." src="路径" /></div>在ajax的方法中添加显示:$("#loadgif").show();消失:$("#loadgif").原创 2021-02-03 14:40:40 · 372 阅读 · 0 评论 -
vue打包命令
npm run build:prod --report原创 2021-03-04 13:31:12 · 6166 阅读 · 1 评论