会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Stitchhhhh
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
下一页
2022年6月15日
node安装和配置、node版本切换
摘要: 一、node的安装(可以去文末直接安装nvm管理器,就不用配置了) 1 下载 | Node.js,也可以下载以往版本,window是以msi结尾的文件 2 安装,直接一直安装就行,如果有之前安装的版本,先进行卸载,然后再进行安装 3 安装完成后查看版本号 node -vnpm -v 4 配置全局包的
阅读全文
posted @ 2022-06-15 09:41 Stitchhhhh
阅读(2483)
评论(0)
推荐(0)
2022年6月10日
统一信用代码的校验
摘要: function(trigger) { if (typeof (trigger) 'undefined' || !trigger) { trigger = 'blur' } return { validator: (rule, value, callback) => { if (value) { c
阅读全文
posted @ 2022-06-10 14:27 Stitchhhhh
阅读(633)
评论(0)
推荐(0)
2022年5月25日
vue页面加水印
摘要: watermark.js 'use strict' const watermark = {} const setWatermark = (str, display) => { const id = '1.23452384164.123412415' if (document.getElementBy
阅读全文
posted @ 2022-05-25 14:09 Stitchhhhh
阅读(314)
评论(0)
推荐(0)
2022年5月11日
vue监听元素宽度变化
摘要: (1)下载 npm i element-resize-detector --save (2)使用 // 导入 const elementResizeDetectorMaker = require('element-resize-detector') // 创建实例 const erd = eleme
阅读全文
posted @ 2022-05-11 17:13 Stitchhhhh
阅读(1467)
评论(0)
推荐(0)
2022年5月10日
vue+G6实现纵向流程图
摘要: 效果图: html: <div id="tree_container" /> js: initTree() { // 数据 const data = { id: 'root', label: 'root', children: [ { id: 'c1', label: 'c1', children:
阅读全文
posted @ 2022-05-10 17:24 Stitchhhhh
阅读(847)
评论(0)
推荐(0)
2022年5月7日
vue注册全局组件
摘要: // 在main.js中加入以下代码 import AmountInput from '@/globalComponents/amountInput' Vue.use(AmountInput)
阅读全文
posted @ 2022-05-07 10:26 Stitchhhhh
阅读(30)
评论(0)
推荐(0)
vue输入框输入数字自动转化成%数据
摘要: <template> <el-input v-model="showValue" type="number" :name="name" :placeholder="placeholder" :readonly="readonly" :disabled="disabled" @focus="handl
阅读全文
posted @ 2022-05-07 10:22 Stitchhhhh
阅读(2114)
评论(0)
推荐(0)
vue金额区间组件
摘要: <template> <div> <div class="institutionalScopeBox"> <amount-input v-model="query.amountMin" clearable placeholder="最小票据金额" :readonly="readonly" :is-i
阅读全文
posted @ 2022-05-07 10:21 Stitchhhhh
阅读(395)
评论(0)
推荐(0)
vue金额组件(自动格式化金额,逗号分隔)
摘要: <template> <el-input v-model="showValue" :name="name" :placeholder="placeholder" :readonly="readonly" @focus="handleFocus" @blur="handleBlur" @change=
阅读全文
posted @ 2022-05-07 10:20 Stitchhhhh
阅读(2061)
评论(0)
推荐(0)
vue字典组件
摘要: <template> <el-radio-group v-if="tagType=='radio'" v-model="dictValue" :disabled="disabled" @change="handleInput"> <el-radio v-for="(item, key) in dic
阅读全文
posted @ 2022-05-07 10:16 Stitchhhhh
阅读(184)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
下一页
公告