1. hscale 2. vscale static void yuv2p010cX_c(SwsContext *c, const int16_t *chrFilter, int chrFilterSize, const int16_t **chrUSrc, const int16_t **chrV ...
分类:
其他好文 时间:
2021-03-17 14:06:46
阅读次数:
0
react-router: 它通过管理 URL,实现组件的切换和状态的变化,开发复杂的应用几乎肯定会用到。 用法:子路由也可以不写在Router组件里面,单独传入Router组件的routes属性。 组件有一个参数history,它的值hashHistory表示,路由的切换由URL的hash变化决定 ...
分类:
其他好文 时间:
2021-03-17 14:02:24
阅读次数:
0
类型转换 public class 类的转换 { public static void main(String[] args) {? /*类型转换 低 高 byte,short,char-int-long-float-double 高到低强制转换,低到高自动转换 */? //强制转换? int a ...
分类:
其他好文 时间:
2021-03-16 14:07:25
阅读次数:
0
vitevite搭建vue项目 windows + R 输入cmd 进入终端 cd.. cd D:\Vue\vite\text 进入要创建项目的文件夹下 npm init @vitejs/app 进入用vite搭建项目 project-demo 输入项目名字 vue 下移选择第二个vue搭建vue项 ...
分类:
其他好文 时间:
2021-03-16 14:06:50
阅读次数:
0
正则表达式验证double类型的数字: public class ValidateRegexs { /// <summary> /// 文本验证,[匹配数字],正则表达式 /// 涵盖:整数、小数、正负数,最大9位 /// </summary> public static string Textbo ...
react-router:实现了路由的核心功能 react-router-dom:基于react-router,加入了在浏览器运行环境下的一些功能。例如Link组件,会渲染一个a标签。 路由模式分为:BrowserRouter(history)(不带#号),和HashRouter(带#号)。前者使用 ...
分类:
其他好文 时间:
2021-03-16 13:37:37
阅读次数:
0
hash模式:路由地址带#号,适合做后台管理系统。 history模式:路由地址不带#号,适合做前端宣传页面,但是history模式有个问题就是:刷新页面会出现404错误,解决方法需要配置服务器。 一、如果是Apache服务器 (如何下载安装Apache服务器,并且设置工作目录) 把项目的dist文 ...
分类:
其他好文 时间:
2021-03-16 13:31:37
阅读次数:
0
static/js/xxxx.js 这里定义按钮odoo.define('add.tree.view.buttons', function (require) { "use strict"; var core = require('web.core'); var ListController = r ...
分类:
其他好文 时间:
2021-03-16 13:30:43
阅读次数:
0
冒泡排序 1.动图演示 2.代码实现 private static void bubbleSort(int[] arr) { if (arr.length <= 1) return; for (int i = 0; i < arr.length; i++) { // 用于标识数组是否有序 boole ...
分类:
编程语言 时间:
2021-03-16 13:24:13
阅读次数:
0
Java基础语法 标识 单行标注 // 多行标注 /* */ 多做标注 关键字 public class Demo02 { public static void main(String[] args) { String ab="c"; System.out.print(ab); } } 注意语法中符 ...
分类:
编程语言 时间:
2021-03-16 11:57:10
阅读次数:
0