<template> <div> <div class="goods"> <div class="menu-wrapper" ref="menuWrapper"> <ul> <li v-for="(item,index) in dishes" :key="index" class="menu-ite ...
分类:
其他好文 时间:
2020-09-18 02:53:28
阅读次数:
28
Cotree 题意: 由N个点构成两棵树,问在两颗树之间连接一条边之后,各点之间距离和的最小值为多少 题解: 进行两次DFS找到两颗树的重心,将两个重心连接起来,再进行一次DFS求出距离和即可 #include <iostream> #include <map> #include <vector> ...
分类:
其他好文 时间:
2020-09-18 01:35:09
阅读次数:
30
自定义组件 navbarvue (胶囊底部高度 - 状态栏的高度) + (胶囊顶部高度 - 状态栏内的高度) = 导航栏的高度 <template> <view class="navbar"> <view class="navbar-fixed"> <!-- 状态栏小程序撑起高度 --> <view ...
分类:
微信 时间:
2020-09-18 00:23:26
阅读次数:
73
2020年9月13日13:50:39 定义(what) 科比会三步上篮,我会三步上篮 科比会投篮,我会投篮 科比会打铁,我会打铁 科比 = 我 Define the skeleton of an algorithm in an operation, deferring some steps to s ...
分类:
其他好文 时间:
2020-09-18 00:06:34
阅读次数:
29
1 #include <iostream> 2 #include<binaryNode.hpp> 3 #include<cassert> 4 #include<queue> 5 #include<vector> 6 7 using namespace std; 8 9 template<class ...
分类:
编程语言 时间:
2020-09-17 23:50:30
阅读次数:
40
thymeleaf 和layui表格都对[[]] 有定义,thymeleaf定义比较严格,layui比较宽松,html 页面中把[ []] 加空格或则换行就可以解决 table.render({ elem: '#table' ,url: '/pic/getList' ,id:'layTable', ...
分类:
其他好文 时间:
2020-09-17 22:51:21
阅读次数:
37
在使用thymeleaf渲染前端的html时,thymeleaf为SpringSecurity提供的标签属性,首先需要引入thymeleaf-extras-springsecurity4依赖支持。 一、在pom 文件中的引入springsecurity的标签依赖thymeleaf-extras-sp ...
分类:
编程语言 时间:
2020-09-17 21:55:18
阅读次数:
43
1、搭建nfs存储[root@docker-k8s01~]#yum-yinstallnfs-utils[root@docker-k8s01~]#mkdir/nfsdata/mysql-p[root@docker-k8s01~]#cat/etc/exports/nfsdata*(rw,sync,no_root_squash)[root@docker-k8s01~]#systemctlrestartn
分类:
数据库 时间:
2020-09-17 21:31:33
阅读次数:
60
项目整合中的问题: 1、日志: spring5 不在使用org.springframework.web.util.Log4jConfigListener,不能配置log4j监听器,可以使用log4j2进行日志记录。 2、springmvc整合thymeleaf: 配置文件中添加<property n ...
分类:
其他好文 时间:
2020-09-17 21:02:44
阅读次数:
36
服务类的Pod容器:RC、RS、DS、Deployment.(Pod内运行的服务,要持续运行)工作类的Pod容器:Job--->执行一次,或者批量执行处理程序,完成之退出容器。//举个栗子kind:JobapiVersion:batch/v1metadata:name:test-jobspec:template:metadata:name:test-jobspec:containers:-n
分类:
其他好文 时间:
2020-09-17 18:40:08
阅读次数:
35