会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
我在拉扯TnT
博客园
首页
新随笔
联系
订阅
管理
2022年2月25日
node结合nginx绑定域名
摘要: node开启服务 const express = require('express'); const app = express(); const path = require('path'); //使用静态资源 app.use(express.static(path.join(__dirname,
阅读全文
posted @ 2022-02-25 13:44 我在拉扯TnT
阅读(140)
评论(0)
推荐(0)
2022年2月23日
jest_实际用法
摘要: toBe(value): 比较数字、字符串toEqual(value): 比较对象、数组toBeNull()toBeUndefined() toHaveProperty(keyPath, value): 是否有对应的属性toContain(item): 是否包含对应的值,括号里写上数组、字符串toM
阅读全文
posted @ 2022-02-23 15:25 我在拉扯TnT
阅读(72)
评论(0)
推荐(0)
2022年2月22日
css3实现毛玻璃效果
摘要: css3实现毛玻璃效果 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport"
阅读全文
posted @ 2022-02-22 18:48 我在拉扯TnT
阅读(132)
评论(1)
推荐(0)
elementUI 输入框只能输入正整数,不能输入字母 e 以及+ - 号
摘要: elementUI 输入框只能输入正整数,不能输入字母 e 以及+ - 号 <el-input v-model="dialogForm.closeTime" onKeypress="return(/[\d]/.test(String.fromCharCode(event.keyCode)))" ty
阅读全文
posted @ 2022-02-22 15:22 我在拉扯TnT
阅读(598)
评论(0)
推荐(0)
2022年2月17日
react+antd+less_x86(表格与分页联动)
摘要: antd的表格与分页联动 import React, { Component } from 'react'; import { Table, Space, Button } from 'antd'; import X86ApplyUpdateModal from '../../components/
阅读全文
posted @ 2022-02-17 11:37 我在拉扯TnT
阅读(78)
评论(0)
推荐(0)
2022年2月16日
react+antd+less_x86(redux)
摘要: redux store.js import { createStore } from 'redux'; import reducer from './reducer.js'; export default createStore(reducer); reducer.js import { GET_A
阅读全文
posted @ 2022-02-16 16:02 我在拉扯TnT
阅读(34)
评论(0)
推荐(0)
react+antd+less_x86(react登录访问控制)
摘要: react登录访问控制 import React from 'react'; import { Route, Redirect } from 'react-router-dom'; const AuthRoute = ( {component: Component, ...rest} ) => {
阅读全文
posted @ 2022-02-16 15:40 我在拉扯TnT
阅读(81)
评论(0)
推荐(0)
2022年2月11日
react+antd+less_x86(左侧菜单与右侧内容、面包屑联动)
摘要: react+antd_实现左侧菜单与右侧内容的联动 import React, { Component } from 'react'; import { Switch, Route } from 'react-router-dom'; import Home from './pages/Home/H
阅读全文
posted @ 2022-02-11 16:55 我在拉扯TnT
阅读(680)
评论(0)
推荐(0)
react+antd+less_x86
摘要: less定义静态代码块 /** 定义 */ .HomePadding () { @padding: 1%; } /** 使用 */ .HomePadding ();padding: @padding; less定义变量 /** 定义 */ @height: 100px;
阅读全文
posted @ 2022-02-11 16:37 我在拉扯TnT
阅读(32)
评论(0)
推荐(0)
公告