摘要:
一般用在登录页跳转时候 wx.reLaunch({ url: '../../quality-inspector/index/index', })
阅读全文
posted @ 2022-08-24 10:23
jqynr
阅读(75)
推荐(0)
摘要:
参考:https://blog.csdn.net/weixin_43131046/article/details/114397849 单行 //不换行 white-space: nowrap; //超出隐藏 overflow: hidden; //超出部分用...代替 text-overflow:
阅读全文
posted @ 2022-08-22 18:26
jqynr
阅读(42)
推荐(0)
摘要:
在线演示:https://chenxuan1993.gitee.io/component-document/index_prod#/component/seamless-others cnpm install vue-seamless-scroll --save 引入 import vueSeaml
阅读全文
posted @ 2022-08-22 17:11
jqynr
阅读(163)
推荐(0)
摘要:
早期: GPL GPLv2 GPLv3 中期: Apache MPL AGPL LGPL 最近 BSL SSPL Elastic 以及特殊的附加条款 Common Clause OSI Certified: OSI认证,开源标准的守护者,社区约束并非法律约束 包括: MIT BSD Apache M
阅读全文
posted @ 2022-08-22 14:09
jqynr
阅读(178)
推荐(0)
摘要:
Math.round(area * 100) / 100 toFixed(2)
阅读全文
posted @ 2022-08-12 19:54
jqynr
阅读(83)
推荐(0)
摘要:
传Object类型会拿不到数据,加上层数据就行了,然后取数组第一个值 js this.setData({ datainfo: [res.data] }) wxml <self-exam-detail datainfo="{{datainfo}}"></self-exam-detail> 组件 js
阅读全文
posted @ 2022-08-11 16:35
jqynr
阅读(169)
推荐(0)
摘要:
框架 gridsome 生成静态网站 strapi 服务端api接口 vuepress 生成静态文档网站markdown Nuxt 静态文档网站,但主要还是SSR(server-side rendered)服务端渲染网站或app 库 lodash js的扩展,包括数组对象深度复制等 sortable
阅读全文
posted @ 2022-08-11 11:57
jqynr
阅读(42)
推荐(0)
摘要:
参考:https://blog.csdn.net/KimBing/article/details/102894271 this.setData({ [e.currentTarget.dataset.formitem]:e.detail.value })
阅读全文
posted @ 2022-08-08 17:46
jqynr
阅读(59)
推荐(0)
摘要:
es6: arr.splice(arr.findIndex((item) => item == student),1);
阅读全文
posted @ 2022-08-06 14:52
jqynr
阅读(33)
推荐(0)
摘要:
原因还不太清楚,解决方式就是在全局样式中覆盖宽度 .el-input{ width: 194px; }
阅读全文
posted @ 2022-08-03 12:08
jqynr
阅读(468)
推荐(0)
摘要:
参考 https://blog.csdn.net/WangYanWenXin/article/details/112983549 自定义表格的横向滚动时,表头差了滚动条下面小三角的宽度 // 当el-table固定表头且出现滚动条时,会出现表头错位 .el-table { th.gutter, co
阅读全文
posted @ 2022-08-01 10:09
jqynr
阅读(554)
推荐(0)
摘要:
3.行为型模式 >命令模式:数据驱动的设计模式,将被操作对象的方法包装成命令类,然后打包给调度类选择统一执行 // 命令接口 interface Order { execute(); } // 请求类,目标对象 class Stock { private name = "ABC"; private
阅读全文
posted @ 2022-07-29 17:18
jqynr
阅读(30)
推荐(0)
摘要:
<router-link class="button" target="_blank" :to="{ path: `/crafts/${scope.row.id}` }" >跳转</router-link > { path: '/crafts/:id', component: (resolve) =
阅读全文
posted @ 2022-07-29 17:03
jqynr
阅读(230)
推荐(0)
摘要:
document.title = `title123`;
阅读全文
posted @ 2022-07-29 16:56
jqynr
阅读(21)
推荐(0)
摘要:
参考:https://blog.csdn.net/qq_43720804/article/details/108448469 // 进度条底色 .el-progress /deep/ path:first-child { stroke: #2a282a; }
阅读全文
posted @ 2022-07-27 11:25
jqynr
阅读(354)
推荐(0)
摘要:
// js console console.clear(); console.log("console.log,show message, last recommand is console.clear"); console.info("console.info,other name for con
阅读全文
posted @ 2022-07-27 10:44
jqynr
阅读(118)
推荐(0)
摘要:
split_array(arr, len) { var a_len = arr.length; var result = []; for (var i = 0; i < a_len; i += len) { result.push(arr.slice(i, i + len)); } return r
阅读全文
posted @ 2022-07-21 15:50
jqynr
阅读(695)
推荐(0)
摘要:
background: url("~@/assets/***.png") no-repeat left center / 50% 100%; background: url("../assets/image/***.jpg") no-repeat center center / 100% auto;
阅读全文
posted @ 2022-07-21 14:38
jqynr
阅读(71)
推荐(0)
摘要:
样式影响了 class名加个前缀或者后缀
阅读全文
posted @ 2022-07-19 14:29
jqynr
阅读(220)
推荐(0)
摘要:
参考:https://blog.csdn.net/weixin_46144482/article/details/125421277 /* mini */ .vueTreeSelectMini .vue-treeselect__control { height: 26px !important; }
阅读全文
posted @ 2022-07-19 10:15
jqynr
阅读(612)
推荐(0)
摘要:
1.创建型模式 >工厂模式:将创建对象过程单独封装,封装成方法 const Animal = function(this,name='',age=0){ this.name = name, this.age = age } const Tree = function(this,name='',tal
阅读全文
posted @ 2022-07-15 17:42
jqynr
阅读(38)
推荐(0)
摘要:
插件 Extension Pack for Java 创建 ctrl + shift + p Java:Create Java Project
阅读全文
posted @ 2022-07-11 11:00
jqynr
阅读(65)
推荐(0)
摘要:
参考:https://blog.csdn.net/echo_Ae/article/details/121717639 <Text style="font-size: 24rpx; vertical-align:text-bottom;">M</Text> <Text style="font-size
阅读全文
posted @ 2022-07-09 16:28
jqynr
阅读(135)
推荐(0)
摘要:
css flex 盒子 定义 display: flex; display: inline-flex; 方向 水平,反向水平,垂直,反向垂直 flex-direction: row | row-reverse | column | column-reverse; 换行 不换行,换行,换行到上/前面
阅读全文
posted @ 2022-07-09 10:55
jqynr
阅读(37)
推荐(0)
摘要:
git 官方文档 http://git-scm.com/docs 安装 apt-get install libcurl4-gnutls-dev libexpat1-dev gettext \ libz-dev libssl-dev apt-get install git yum install cu
阅读全文
posted @ 2022-07-09 10:30
jqynr
阅读(68)
推荐(0)
摘要:
bootstrap common containers .container (-sm md lg xl xxl fluid) gird .container .row .col .col-5 (<=12) .col-lg-2 .align-item-(start center end)<col>
阅读全文
posted @ 2022-07-09 10:28
jqynr
阅读(52)
推荐(0)
摘要:
# 一级标题## 二级标题### 三级标题#### 四级标题##### 五级标题###### 六级标题两个空格加回车换行 空行换行 *斜体文本*_斜体文本_**粗体文本**__粗体文本__***粗斜体文本***___粗斜体文本___~~BAIDU.COM~~<u>带下划线文本</u>*** * *
阅读全文
posted @ 2022-07-09 10:22
jqynr
阅读(22)
推荐(0)
摘要:
////// 异步函数 ////回调,作为参数传递给另一个函数的函数(用函数作参数) function myDisplayer(some) { document.getElementById("demo").innerHTML = some; } function myCalculator(num1
阅读全文
posted @ 2022-07-09 10:12
jqynr
阅读(37)
推荐(0)
摘要:
////// 类 // 使用关键字 class 创建,始终添加一个 constructor() 的方法(如果没有就会默认添加一个空的) class Car { constructor(name, year) { this.name = name; this.year = year; } age()
阅读全文
posted @ 2022-07-08 17:44
jqynr
阅读(66)
推荐(0)
摘要:
////// 函数 const x = (x, y) => x * y; // 如果只有一句,可以省略return和大括号,最好加上 // 箭头函数没有 this,但是作为对象的属性可以有 //函数参数(parameter)指的是在函数定义中列出的名称。 //函数参数(argument)指的是传递到
阅读全文
posted @ 2022-07-08 17:03
jqynr
阅读(48)
推荐(0)
摘要:
参考:https://es6.ruanyifeng.com/#docs/style 1. let 取代 var2. let 和 const 之间,优先使用 const3. const 声明多个变量 const [a, b, c] = [1, 2, 3];4. 静态字符串一律使用单引号或反引号,动态字
阅读全文
posted @ 2022-07-08 14:54
jqynr
阅读(36)
推荐(0)
摘要:
////// 对象 var obj1 = {}; var obj1 = new Object(); // 通过引用寻址 c = obj1; c == obj1; //// 属性 a = 'age' c.age || c['age'] || c[a] // 循环 forin for (const i
阅读全文
posted @ 2022-07-08 14:41
jqynr
阅读(38)
推荐(0)
摘要:
width: 794px; 如果是100%,elementui的table就超出了 然后请求数据结果 this.$nextTick(function () { window.print(); });
阅读全文
posted @ 2022-06-25 10:37
jqynr
阅读(236)
推荐(0)
摘要:
(this as any).$message.info('123456');
阅读全文
posted @ 2022-06-22 14:04
jqynr
阅读(1233)
推荐(0)
摘要:
参考:https://www.cnblogs.com/xintao/p/15562111.html 1.下载 http://www.lodop.net/download.html 2.安装 cnpm install @xkeshi/vue-barcode 3. 找到LodopFuncs.js 添加一
阅读全文
posted @ 2022-06-13 16:13
jqynr
阅读(1219)
推荐(0)
摘要:
参考:https://wenku.baidu.com/view/b320ef11f211f18583d049649b6648d7c1c70891.html cnpm install json-bigint request.js引入 import JSONbig from 'json-bigint';
阅读全文
posted @ 2022-06-09 13:37
jqynr
阅读(848)
推荐(0)
摘要:
本地测试正常,部署到服务器字体就变小了 最后找到问题是rem基于的html的字体大小不起效果, 解决方法是新建一个页面,跳转 <router-link target="_blank" :to="{ path: `/printexam/` + this.printid }" ><el-button c
阅读全文
posted @ 2022-06-02 15:36
jqynr
阅读(560)
推荐(0)
摘要:
location.reload(); 虽然不知道为什么location可以直接用,但是页面雀实刷新了
阅读全文
posted @ 2022-06-01 17:27
jqynr
阅读(147)
推荐(0)
摘要:
this.$store.dispatch("tagsView/delView", this.$route); this.$router.push({ path: "/mfg-order/order" });
阅读全文
posted @ 2022-06-01 16:24
jqynr
阅读(518)
推荐(0)
摘要:
项目根目录下新建文件 .editorconfig # https://editorconfig.org root = true [*] charset = utf-8 indent_style = space indent_size = 2 end_of_line = lf insert_final
阅读全文
posted @ 2022-05-31 15:21
jqynr
阅读(112)
推荐(0)