var window_h=function(element,height){ var element=document.getElementsByClassName(element); for(let i=0;i<element.length;i++){ element[i].style.heigh ...
分类:
其他好文 时间:
2020-12-29 11:11:45
阅读次数:
0
前言 公司目前现有的一款产品是使用vue v2.0框架实现的,配套的打包工具为webpack v3.0。整个项目大概有80多个vue文件,也算不上什么大型项目。 只不过每次头疼的就是打包所耗费的时间平均在一分钟左右,而且打包后有几个文件显示为【big】,也就是文件体积过大。 最近就想着捣鼓一下,看能 ...
分类:
Web程序 时间:
2020-12-28 11:22:49
阅读次数:
0
很多API并不是真正的实现了RESTful,而应该叫做RPC (Remote Procedure Call 远程过程调用),Roy Fielding曾经提到了它们的区别,原文如下: I am getting frustrated by the number of people calling any ...
Given an array of integers, return the number of (contiguous, non empty) subarrays that have a sum divisible by . Example 1: Note: 1. `1 这道题给了一个数组,让返回 ...
分类:
编程语言 时间:
2020-12-25 11:49:15
阅读次数:
0
vue基础语法 介绍:Vue是一套用于构建用户界面的渐进式框架 Vue核心库只关注视图层,不仅容易上手,还便于与第三方既有项目整合 vue官网 Hello World 1.引入vue.js 2.创建一个带有id的dom 3.编写vue实例,el挂载点对应HTMLdom,data表示vue实例中的数据 ...
分类:
其他好文 时间:
2020-12-24 11:36:30
阅读次数:
0
1.Maven依赖 <!-- MBG --> <dependency> <groupId>org.mybatis.generator</groupId> <artifactId>mybatis-generator-core</artifactId> <version>1.3.5</version> ...
分类:
其他好文 时间:
2020-12-23 12:47:38
阅读次数:
0
拓扑图实验需求:公司人数较多且多网络冗余和可用性要求较高,故网络中使用MSTP对不同的VLAN负载均衡,使用VRRP对网关进行负载均衡和平均流量,使用两家运营商线路对出口进行负载均衡。接入端配置边缘端口使终端快速进入转发,配置bpdu防护,保护边缘端口接收到bpdu报文后立即关闭,减少网络的震荡。两台core之间使用eth-trunk,配置步骤:1.access和core交换机之间的上下联启tru
分类:
其他好文 时间:
2020-12-23 12:44:07
阅读次数:
0
/*Hatsune Miku 4ever!*/ #include <bits/stdc++.h> using namespace std; typedef long long ll; #define _for(i,a,b) for(int i = (a);i < b;i ++) #define _r ...
分类:
其他好文 时间:
2020-12-23 11:43:21
阅读次数:
0
As some data error, i am going to update the Project Number filed on PA_TRANSACTION_INTERFACE_ALL Table. But once i applied the SQL, there will appear ...
分类:
其他好文 时间:
2020-12-22 12:34:26
阅读次数:
0
堆(heap):动态分配内存,大小不一,不自动分配。 栈(stack):自动分配相对固定大小的内存空间,有系统自动释放。 Array、Object、Function。。。 JavaScript中基本数据类型:Undefined、Null、Number、String、Boolean、Symbol。 直 ...
分类:
Web程序 时间:
2020-12-22 11:56:20
阅读次数:
0