createWebHistory路由模式路径不带#号(生产环境下不能直接访问项目,需要nginx转发) http://localhost:8080/#/ const router = createRouter({ history: createWebHistory(), routes }); cre ...
分类:
其他好文 时间:
2021-02-02 11:14:24
阅读次数:
0
在以往keil-STM32调试代码时没有遇见过这个问题 代码书写不规范导致的 unsighned char value=100; value = (unsighned int)value*99/100; 在调试过程中 没有对value进行强制类型转换 所以导致输出的目标值不对 还有一个问题 在ICC ...
分类:
其他好文 时间:
2021-02-02 11:07:41
阅读次数:
0
语法:https://www.runoob.com/css/css-syntax.html <!DOctype html> <html> <head> <meta charset="utf-8"> <title>123</title> <style> body{bockground-color:#d ...
分类:
Web程序 时间:
2021-02-02 10:52:40
阅读次数:
0
数组角标越界异常:ArrayIndexOutOfBoundsException int[] arr = new int[]{1,2,3,4,5}; 情况一: for(int i = 0;i <= arr.length;i++){ System.out.println(arr[i]); } 情况二: ...
分类:
其他好文 时间:
2021-02-02 10:33:22
阅读次数:
0
// [\S\s\r\n]*// == 忽略换行匹配 (.)* 是单行 [\S\s\r\n]* 多行 因为在Visual Studio,你若需要匹配换行符以及空白符,需要配合[\S\s]以及[^]。 而\S\s是什么意思呢? 大写的\S是匹配任何非空白字符。 小写的\s是匹配任何空白字符,其中包括空 ...
分类:
其他好文 时间:
2021-02-02 10:31:20
阅读次数:
0
1、点击不同按钮分别创建出模态与非模态对话框子窗口,分别指定每个窗口单独的对话框窗口函数。 #include <Windows.h> #include <tchar.h> #include <CommCtrl.h> #include "resource.h" INT_PTR WINAPI Dialo ...
字符串 @GetMapping("/string") public String stringTest(){ redisTemplate.opsForValue().set("str","Hello World"); String str = (String) redisTemplate.opsFo ...
分类:
其他好文 时间:
2021-02-01 12:45:42
阅读次数:
0
layui基础知识 1.layui模块化编程引入方法 只需要引入两个文件layui.css和layui.js <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=devic ...
分类:
其他好文 时间:
2021-02-01 11:55:02
阅读次数:
0
E. Pattern Matching 题目链接:https://codeforces.com/contest/1476/problem/E 题目大意:给你n个模式串和m个字符串(长度都为k),要求你将模式串进行排序使得每个字符串在排序后的模式串中第一个匹配的是未排序前的模式串中第mt个模式串。对于 ...
分类:
其他好文 时间:
2021-02-01 11:51:02
阅读次数:
0
1 #include <poll.h> 2 int poll(struct pollfd* fds,nfds_t nfds,int timeout); fds,pollfd结构类型的数组(可变长数组,数组元素为结构体pollfd);结构体中含有三个成员变量(int,short,short),分别为文 ...
分类:
其他好文 时间:
2021-02-01 11:45:38
阅读次数:
0