//父组件 const LayoutMain = ()=>{ const [flowImg,setFlowImg] = useState(false); const openModal = ()=>{ setFlowImg(true) console.log(flowImg); } const ha ...
分类:
其他好文 时间:
2021-02-03 10:29:31
阅读次数:
0
1,class / style 绑定就是专门用来实现动态样式效果的技术 2,class 绑定 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=dev ...
分类:
其他好文 时间:
2021-02-02 11:31:30
阅读次数:
0
基于layui的锁屏功能 //锁屏 function lockPage() { layer.open({ title: false, type: 1, content: $("#lock-box"), closeBtn: 0, shade: 0.9 }); }; $("#SP").on("click ...
分类:
Web程序 时间:
2021-02-02 11:01:20
阅读次数:
0
Razor 页面组成到底有哪些内容? 包含了Layout的母版嵌套的返回需要渲染的视图内容; 如何嵌套? 通过Layout中的RenderBody()方法做了替换,把返回的视图替换到母版页中,形成了一整块的内容。目的返回到不同页面时候,能够把不变的部分视图能够重用。 在母版页中使用css,js是为了 ...
分类:
Web程序 时间:
2021-02-02 10:36:03
阅读次数:
0
1、点击不同按钮分别创建出模态与非模态对话框子窗口,分别指定每个窗口单独的对话框窗口函数。 #include <Windows.h> #include <tchar.h> #include <CommCtrl.h> #include "resource.h" INT_PTR WINAPI Dialo ...
81. 搜索旋转排序数组 II Difficulty: 中等 假设按照升序排序的数组在预先未知的某个点上进行了旋转。 ( 例如,数组 [0,0,1,2,2,5,6] 可能变为 [2,5,6,0,0,1,2] )。 编写一个函数来判断给定的目标值是否存在于数组中。若存在返回 true,否则返回 fal ...
分类:
编程语言 时间:
2021-02-01 12:51:53
阅读次数:
0
安装logstash 手动导入Mysql驱动 新建jdbc.conf vim jdbc.conf input { stdin { } jdbc { # 连接的数据库地址和哪一个数据库,指定编码格式,禁用SSL协议,设定自动重连 jdbc_connection_string => "jdbc:mysq ...
分类:
其他好文 时间:
2021-02-01 12:50:17
阅读次数:
0
性质:1 唯一的, 2 单独是一个类型, 用作对象的私有属性 1 const sym = Symbol("private"); 2 3 export default function Constr(a){ 4 return { 5 [sym]: 111, //私有属性 6 pub:a 7 } 8 } ...
分类:
其他好文 时间:
2021-02-01 12:36:26
阅读次数:
0
// 获取验证码 getCodes(){ const TIME_COUNT = 60; if (!this.timer) { this.count = TIME_COUNT; this.show = false; this.getcode() this.timer = setInterval(() ...
分类:
其他好文 时间:
2021-02-01 11:53:09
阅读次数:
0
创建一个学生类 package com.peihua.cn.test1.Test; public class Student { private String name; private int age; private String Xxingbie; public Student() { } p ...
分类:
编程语言 时间:
2021-02-01 11:46:33
阅读次数:
0