上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 23 下一页
摘要: aa.toLocaleString() 阅读全文
posted @ 2022-06-20 15:26 hello芳芳 阅读(13) 评论(0) 推荐(0)
摘要: props接收的值不能再更改,如果要更改就用 this.$refs.xxx.propA=2 阅读全文
posted @ 2022-06-17 08:57 hello芳芳 阅读(51) 评论(0) 推荐(0)
摘要: 报错图 问题原因: pre-commit钩子惹的祸 当你在终端输入git commit -m"XXX",提交代码的时候, pre-commit(客户端)钩子,它会在Git键入提交信息前运行做代码风格检查。 如果代码不符合相应规则,则报错。 解决方式: 一、 简单粗暴的方式 进入项目的.git文件夹下 阅读全文
posted @ 2022-06-01 17:04 hello芳芳 阅读(1084) 评论(0) 推荐(0)
摘要: <vxe-toolbar custom /> <vxe-table id="bbb" ref="table" v-loading="loading" :data="model.list" class="tb-edit height34" border keep-source stripe resiz 阅读全文
posted @ 2022-05-06 09:33 hello芳芳 阅读(2406) 评论(0) 推荐(0)
摘要: <el-table ref="table" v-loading="loading" :data="tableData" class="tb-edit" border stripe :height="tableHeight" :header-cell-style="{'background':'#F5 阅读全文
posted @ 2022-03-29 17:32 hello芳芳 阅读(2754) 评论(0) 推荐(0)
摘要: excel文件预览 word文件预览 pdf文件预览 普通图片预览 一、查看word 引用mammoth.js 安装 npm install --save mammoth 引入import mammoth from “mammoth”; 1.页面 <div id="wordView" v-html= 阅读全文
posted @ 2022-03-24 09:25 hello芳芳 阅读(9925) 评论(2) 推荐(0)
摘要: <div class="imgfile"> <div v-if="dialog.isPdf" v-loading="iframeLoading"> <iframe :src="dialog.src" type="application/x-google-chrome-pdf" /> </div> < 阅读全文
posted @ 2022-02-18 08:48 hello芳芳 阅读(261) 评论(0) 推荐(0)
摘要: /* 绝对居中 */ /* 方法一: */ .parent{ display: flex; justify-content: center; align-items: center; } /* 方法二 */ .parent{ width: 100px; height: 100px; position 阅读全文
posted @ 2022-02-08 15:12 hello芳芳 阅读(49) 评论(0) 推荐(0)
摘要: 验证数字的正则表达式集 验证数字:^[0-9]*$ 验证n位的数字:^\d{n}$ 验证至少n位数字:^\d{n,}$ 验证m-n位的数字:^\d{m,n}$ 验证零和非零开头的数字:^(0|[1-9][0-9]*)$ 验证有两位小数的正实数:^[0-9]+(.[0-9]{2})?$ 验证有1-3位 阅读全文
posted @ 2022-01-26 09:42 hello芳芳 阅读(33) 评论(0) 推荐(0)
摘要: 全局安装typescript cnpm install -g typescript 新建项目,生成tsconfig.json配置文件 cd 目录 tsc --init 阅读全文
posted @ 2022-01-13 09:40 hello芳芳 阅读(278) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 23 下一页