<transition-group> 组件还有一个特殊之处。不仅可以进入和离开动画,还可以改变定位。要使用这个新功能只需了解新增的 v-move class,它会在元素的改变定位的过程中应用。像之前的类名一样,可以通过 name attribute 来自定义前缀,也可以通过 move-class a ...
分类:
其他好文 时间:
2021-06-30 18:32:03
阅读次数:
0
<div class="login-container"> <div class="login-top-table"> <div class="login-top-table-cell"> <img src="../../../static/images/login-icon.png" class= ...
分类:
其他好文 时间:
2021-06-30 18:26:48
阅读次数:
0
指针函数 #include <stdio.h> #define uint8 unsigned char #define uint16 unsigned short #define uint32 unsigned int uint8 get_device_type_flash() { printf(" ...
分类:
编程语言 时间:
2021-06-30 18:21:24
阅读次数:
0
keep-alive:主要用于保留组件状态或避免重新渲染。 比如: 有一个列表页面和一个 详情页面,那么用户就会经常执行打开详情=>返回列表=>打开详情这样的话 列表 和 详情 都是一个频率很高的页面,那么就可以对列表组件使用<keep-alive></keep-alive>进行缓存,这样用户每次返 ...
分类:
其他好文 时间:
2021-06-30 18:20:31
阅读次数:
0
打印三角形 public class TriangleDemo { public static void main(String[] args) { for (int j = 1; j <= 5; j++) { for (int i = 5; i >= j; i--) { System.out.pr ...
分类:
编程语言 时间:
2021-06-30 18:13:09
阅读次数:
0
链式与顺序结构的最大区别在于,插入或删除操作需要移动大量元素。 链表类型:单链表,循环链表,双向链表。 单链表的组成:每个数据元素内包括两个域:数据域和指针域。 单链表的创建方式有两种:一种是头插法和尾插法。 #include <stdio.h> #include <stdlib.h> typede ...
分类:
其他好文 时间:
2021-06-30 18:07:18
阅读次数:
0
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <!--:是v-bond的缩写--> <div id="vue"> <todo> <todo-titl ...
分类:
其他好文 时间:
2021-06-30 18:06:28
阅读次数:
0
位运算符包含: & 与、| 或、^ 异或 、~ 取反、>> 右移、<< 左移、>>> 参考地址:https://www.cnblogs.com/findbetterme/p/10787118.html 1<<31 == Integer.MIN_VALUE 原因:https://www.jianshu ...
分类:
编程语言 时间:
2021-06-30 18:03:26
阅读次数:
0
20. 有效的括号](https://leetcode-cn.com/problems/valid-parentheses/) class Solution { public boolean isValid(String s) { Map<Character, Character> map = ne ...
分类:
其他好文 时间:
2021-06-30 18:02:33
阅读次数:
0
?常见基本排序 选择排序 ? 基本思路:从第一位开始标记,每次选出最小数字与标记位交换 代码实现: private static void selectSort(int[] arr) { if(arr == null || arr.length < 2){ return; } for (int i ...
分类:
编程语言 时间:
2021-06-30 17:58:34
阅读次数:
0