摘要:
教程地址: https://www.bilibili.com/video/BV1FA411i7PD 项目创建和启动 cnpm install -g create-react-app npx create-react-app myapp --template typescript vscode插件 T
阅读全文
posted @ 2024-02-18 16:16
凯宾斯基
阅读(108)
推荐(0)
摘要:
vue.config.js module.exports = { // 解决首页访问出现很多预加载文件的问题 chainWebpack: config => { // 移除 prefetch 插件 config.plugins.delete('prefetch') // 或者 // 修改它的选项:
阅读全文
posted @ 2024-02-17 02:00
凯宾斯基
阅读(273)
推荐(0)
摘要:
vue.config.js module.exports = { configureWebpack:{ externals: { 'element-ui': 'ELEMENT', vue: 'Vue' }} //externals 配置来告诉 Webpack 不要打包它。 index.html <!
阅读全文
posted @ 2024-02-07 19:24
凯宾斯基
阅读(91)
推荐(0)
摘要:
https://blog.csdn.net/piaomiao_/article/details/126347476 System.setProperty('org.apache.commons.jelly.tags.fmt.timeZone','Asia/Shanghai')
阅读全文
posted @ 2024-01-13 03:07
凯宾斯基
阅读(219)
推荐(0)
摘要:
https://vikyd.github.io/download-chromium-history-version/#/
阅读全文
posted @ 2023-12-20 11:32
凯宾斯基
阅读(258)
推荐(0)
摘要:
npm install --save vue-clipboard2 import VueClipBoard from 'vue-clipboard2' Vue.use(VueClipBoard) value即是要复制的内容 <button @click="seccendCopy">第二种方式复制</
阅读全文
posted @ 2023-12-17 08:12
凯宾斯基
阅读(48)
推荐(0)
摘要:
https://www.bilibili.com/video/BV1Z44y1K7Fj?p=7&vd_source=caabcbd2a759a67e2a3de8acbaaf08ea
阅读全文
posted @ 2023-11-27 13:43
凯宾斯基
阅读(17)
推荐(0)
摘要:
1,路由组件的基本实现 使用React构建的单页面应用,要想实现页面间的跳转,首先想到的就是使用路由。在React中,常用的有两个包可以实现这个需求,那就是react-router和react-router-dom。本文主要针对react-router-dom进行说明。 安装: 首先进入项目目录,使
阅读全文
posted @ 2023-11-23 22:39
凯宾斯基
阅读(383)
推荐(0)
摘要:
有2个老师咋那么实现每次轮询 teacherList=【1,2】 使用模运算即可 redis记录 0 0%2=0。得到下标 teacherList[0] redis记录 1 1%2=1. 得到下标 teacherList[1] redis记录 2 2%2=0. 得到下标 teacherList[0]
阅读全文
posted @ 2023-11-10 18:44
凯宾斯基
阅读(19)
推荐(0)
摘要:
https://blog.csdn.net/weixin_44856917/article/details/128818158 <template> <div> <!-- // 小图标 --> <a-button @click="enlarge">双击放大</a-button> <div id="m
阅读全文
posted @ 2023-10-23 18:15
凯宾斯基
阅读(47)
推荐(0)
摘要:
官网: https://mermaid.js.org/syntax/flowchart.html 例子: https://blog.csdn.net/weixin_55508765/article/details/125735923 https://blog.csdn.net/weixin_4595
阅读全文
posted @ 2023-10-18 23:36
凯宾斯基
阅读(468)
推荐(0)
摘要:
force index(ix_utmsource_signup_activated)强制走索引 FROM emb_xxxx a <if test="ixUtxxxSignup != null and ixUxxxSignup"> force index(ix_xxxx)</if>
阅读全文
posted @ 2023-10-12 22:56
凯宾斯基
阅读(21)
推荐(0)
摘要:
一、介绍 https://zhuanlan.zhihu.com/p/458011982 二、视频 https://www.bilibili.com/video/BV1vg411h7ty/?spm_id_from=333.337.search-card.all.click&vd_source=caab
阅读全文
posted @ 2023-10-11 20:15
凯宾斯基
阅读(16)
推荐(0)
摘要:
一、处理多个条件语句 all()方法 对于all()的一般例子如下: size = "lg" color = "blue" price = 50 # bad practice if size == "lg" and color == "blue" and price < 100: print("Ye
阅读全文
posted @ 2023-10-10 11:04
凯宾斯基
阅读(37)
推荐(0)
摘要:
<template> <!-- class="server_a" --> <div class="a"> 服务列表 <div> <a-descriptions title="123" bordered> <a-descriptions-item label="服务列表"> Cloud Databas
阅读全文
posted @ 2023-09-18 15:01
凯宾斯基
阅读(43)
推荐(0)
摘要:
https://www.cnblogs.com/evident/p/16700615.html 下面这种只隐藏了表头 tabkeColumns: [ { title: '姓名', dataIndex: 'name', key: 'name', colSpan:(route.path 'SIM'?1:
阅读全文
posted @ 2023-09-06 13:37
凯宾斯基
阅读(1734)
推荐(0)
摘要:
def round_3_1(): a1 = 2; a2 = 3; a3 = 1; sum = a1 + a2 + a3; for i in range(100): s = i % sum; if s < a1: print("1"); elif s < a1 + a2: print("2222");
阅读全文
posted @ 2023-08-28 21:11
凯宾斯基
阅读(19)
推荐(0)
摘要:
show-search后可开启搜索模式。 把搜索的值内容改为optionFilterProp=label 想同时搜索label和value两个字段把label设置成label="v.roleName+v.roleId" <a-select ref="select" v-model:value="va
阅读全文
posted @ 2023-08-22 16:23
凯宾斯基
阅读(72)
推荐(0)
摘要:
<template> <div> <div style="background: white; height: 100%"> <div class="up_css"> <p> JMETER运行状态: <a-tag :color="this.jmeterStatus != true ? 'green'
阅读全文
posted @ 2023-08-04 21:38
凯宾斯基
阅读(54)
推荐(0)
摘要:
table 组件 让选中的一项高亮显示 <template> <a-table ref="clientLeve_table" bordered size="middle" rowKey="id" :columns="clientLeve_columns" :dataSource="clientLev
阅读全文
posted @ 2023-08-04 03:14
凯宾斯基
阅读(1085)
推荐(0)
posted @ 2023-08-03 17:57
凯宾斯基
阅读(256)
推荐(0)
摘要:
https://www.runoob.com/react/react-state.html 1、状态和变量的使用 class Clock extends React.Component { // 变量存放--固定写法 constructor() { super(); this.state = {sh
阅读全文
posted @ 2023-07-19 17:42
凯宾斯基
阅读(56)
推荐(0)
摘要:
<a-input v-model="edit.rampTime" type="number" oninput="value=value.replace('.', '',).replace('-', '',)" style="width: 220px" ></a-input>
阅读全文
posted @ 2023-07-10 20:35
凯宾斯基
阅读(1413)
推荐(0)
摘要:
{% autoescape off %} {{ variable }} {% endautoescape %} 当 ariable 传入的是html 会自动渲染出来 https://www.itguest.com/post/hidij2b8.html
阅读全文
posted @ 2023-07-09 01:55
凯宾斯基
阅读(8)
推荐(0)
摘要:
通过vue key 实现,原理官方文档。所以当key 值变更时,会自动的重新渲染。 <template> <third-comp :key="menuKey"/> </template> <script> export default{ data(){ return { menuKey:1 } },
阅读全文
posted @ 2023-07-07 19:43
凯宾斯基
阅读(16)
推荐(0)
摘要:
https://blog.csdn.net/qq_40323256/article/details/111305117 https://www.likecs.com/show-307541080.html (这个可以) https://github.com/SheetJS/sheetjs 1. np
阅读全文
posted @ 2023-06-30 11:54
凯宾斯基
阅读(63)
推荐(0)
摘要:
https://blog.csdn.net/Tomonkey/article/details/125382817 安装addcomments pip install addcomments 给model字段添加verbose_name属性 age = models.SmallIntegerField
阅读全文
posted @ 2023-06-26 16:43
凯宾斯基
阅读(32)
推荐(0)
摘要:
https://blog.csdn.net/jianleking/article/details/118442697 json转xlsx文件导出 https://www.jianshu.com/p/7950d40ace40 json转流文件。和 流文件解析 https://www.jianshu.c
阅读全文
posted @ 2023-06-07 13:31
凯宾斯基
阅读(261)
推荐(0)
摘要:
https://1x.antdv.com/components/cascader-cn/ <a-cascader ref="cascader" #钩子 :allowClear="false" style="height:30px" :options="depList" :load-data="loa
阅读全文
posted @ 2023-05-30 23:37
凯宾斯基
阅读(41)
推荐(0)
摘要:
书接上回 https://www.cnblogs.com/kaibindirver/p/17381857.html import React from 'react' import '../css/01.css' export default class App extends React.Comp
阅读全文
posted @ 2023-05-08 21:10
凯宾斯基
阅读(18)
推荐(0)
摘要:
操作数据要用 setStatus函数 操作数据要深拷贝再操作 常规展示 import React from 'react' export default class App extends React.Component { state={ list:[{"id":1,"text":"张三"},{"
阅读全文
posted @ 2023-05-08 15:10
凯宾斯基
阅读(46)
推荐(0)
摘要:
https://blog.csdn.net/qq_26323323/article/details/123857648
阅读全文
posted @ 2023-04-26 17:55
凯宾斯基
阅读(13)
推荐(0)
摘要:
2.性能测试理论介绍:https://www.bilibili.com/video/BV1je4y1j76q/?spm_id_from=333.337.search-card.all.click&vd_source=08f60f96227dc2764a45c00a8bce8bd6 3.性能测试瓶颈分
阅读全文
posted @ 2023-04-26 17:22
凯宾斯基
阅读(33)
推荐(0)
摘要:
要放到state里面用setState去替换 import React from 'react' export default class App extends React.Component { // 第一种放变量的方法,用关键字state state={ mytext:"收藏", myShow
阅读全文
posted @ 2023-04-25 10:28
凯宾斯基
阅读(24)
推荐(0)
摘要:
import React from 'react' export default class App extends React.Component { myref=React.createRef() render() { return ( <div> {/* 获取输入框的内容 写法一 */} <i
阅读全文
posted @ 2023-04-24 21:46
凯宾斯基
阅读(91)
推荐(0)
摘要:
事件处理一: 触发函数的方法 import React from 'react' export default class App extends React.Component { render() { return ( <div> <input/> <button onClick={ ()=>{
阅读全文
posted @ 2023-04-24 14:10
凯宾斯基
阅读(21)
推荐(0)
摘要:
1、点击 onClick 例子里面是匿名函数的写法 export default class App extends React.Component { render() { return ( <div> <input/> <button onClick={ ()=>{ alert("触发函数")
阅读全文
posted @ 2023-04-23 19:27
凯宾斯基
阅读(16)
推荐(0)
摘要:
<template> <div> <H1>当前日期 :{{ FormatTime(nowTime) }}</H1> </div> </template> <script> export default { data() { return { timer: undefined, nowTime: ne
阅读全文
posted @ 2023-04-23 15:48
凯宾斯基
阅读(37)
推荐(0)
摘要:
04-组件的样式 import '../css/01.css' //导入样式 function App(){ var myname="lucax" var obj={ background:"red", fontSize:"40px" //font-size 所有样式的-都改为用驼峰写法去替代 }
阅读全文
posted @ 2023-04-23 14:26
凯宾斯基
阅读(82)
推荐(0)
摘要:
https://wangwl.net/static/projects/visualRegex
阅读全文
posted @ 2023-04-23 11:26
凯宾斯基
阅读(99)
推荐(0)