摘要: 国密 npm install --save sm-crypto 公钥 // 方法一 import {sm2} from 'sm-crypto' const public_key = '04' + '公钥' let passwordd= sm2.doEncrypt('登陆密码', public_key 阅读全文
posted @ 2024-04-25 09:35 ThisCall 阅读(1) 评论(0) 推荐(0) 编辑
摘要: <van-dialog v-model="showDialog" @confirm="confirmFn" @cancel="showDialog = false" title="添加故障现象" show-cancel-button :before-close="onBeforeClose" > < 阅读全文
posted @ 2024-04-24 09:49 ThisCall 阅读(2) 评论(0) 推荐(0) 编辑
摘要: alt+2 阅读全文
posted @ 2024-04-23 14:39 ThisCall 阅读(1) 评论(0) 推荐(0) 编辑
摘要: // 引入axios const axios = require('axios'); // 添加响应拦截器 axios.interceptors.response.use( response => { // 删除所有的Set-Cookie头 if (response.headers['set-coo 阅读全文
posted @ 2024-04-18 10:14 ThisCall 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 博客 import JSEncrypt from 'jsencrypt/bin/jsencrypt.min' // 密钥对生成 http://web.chacuo.net/netrsakeypair; 把下面生成的公钥、私钥换成自己生成的即可 const publicKey = '',//生成的公钥 阅读全文
posted @ 2024-04-17 10:34 ThisCall 阅读(4) 评论(0) 推荐(0) 编辑
摘要: // van-popup 遮罩白底 .page-van-overlay-f .van-overlay { background: #fff !important; } 阅读全文
posted @ 2024-04-11 10:55 ThisCall 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 对象属性监听 props: { baseFormObj: Object, }, watch: { 'baseFormObj.measuresItems': { immediate: true, // 如果需要组件创建时立即监听,设置为true handler(newVal, oldVal) { // 阅读全文
posted @ 2024-04-02 14:14 ThisCall 阅读(38) 评论(0) 推荐(0) 编辑
摘要: 解决:新增/编辑赋值的时候,所有明明有值校验不通过的属性使用$set赋值 this.$set(this.form, "属性名", "");// 新增置空 this.$set(this.form, "属性名", row.shuxing);// 编辑赋值 阅读全文
posted @ 2024-03-28 18:54 ThisCall 阅读(38) 评论(0) 推荐(0) 编辑
摘要: /* 固定列错位线 */ /* 固定列错位线 */ .el-table__fixed::before{ background-color: transparent !important; } .el-table__fixed::before, .el-table__fixed-right::befo 阅读全文
posted @ 2024-03-28 09:42 ThisCall 阅读(1) 评论(0) 推荐(0) 编辑
摘要: <el-table :data="tableData" style="width: 100%" :height="tableHeight"> <el-table-column prop="date" label="日期" width="180"> </el-table-column> </el-ta 阅读全文
posted @ 2024-03-15 15:40 ThisCall 阅读(4) 评论(0) 推荐(0) 编辑