let that export default{} beforeCreate() { that = this; }, filters: { dept: data => { for (const i in that.deptList) { const element = that.deptList[i ...
分类:
其他好文 时间:
2021-02-08 12:27:11
阅读次数:
0
1.在nuxt项目根目录下创建server.js 2.安装chalk npm install chalk server.js const http = require('http'); const chalk = require('chalk'); const OneProcess = requir ...
分类:
其他好文 时间:
2021-02-08 12:26:13
阅读次数:
0
数据结构 C中整数之间的运算结果只会是整数 带小数点的数是浮点数 %d //是整数的参数 %f //是浮点数的参数 const int PLS=2.3; printf("%f",PLS); int定义整数变量,double定义双精度浮点数,float定义单精度浮点数 double ACD; scan ...
分类:
其他好文 时间:
2021-02-08 11:52:48
阅读次数:
0
#include <bits/stdc++.h> const int N=200005; int n,v,a[N],dl[N][20],dr[N][20],pre[1<<20],suf[1<<20],dp[N],W; int main(){ scanf("%d%d",&n,&v); for (int ...
分类:
其他好文 时间:
2021-02-08 11:41:40
阅读次数:
0
UOJ87 mx的仙人掌 这里没有用传统的方点外接圆点的做法,而是方点虚树上儿子跳到方点所在环上单调队列处理,本质上是一样的. code //爽! #include<bits/stdc++.h> using namespace std; typedef long long ll; const int ...
分类:
其他好文 时间:
2021-02-06 12:15:50
阅读次数:
0
addDatabase的函数原型如下: [static] QSqlDatabase QSqlDatabase::addDatabase( const QString &type, const QString &connectionName = QLatin1String( defaultConnec ...
分类:
数据库 时间:
2021-02-06 11:55:31
阅读次数:
0
1 CF1437C 大厨莫诺卡普 题目链接:http://codeforces.com/problemset/problem/1437/C 2 题目概要: 大厨莫诺卡普刚刚把 \(𝑛\) 个盘子放进烤箱里。 他知道$𝑖$菜的最佳烹饪时间为 \(𝑡_𝑖\) 分钟。 在任何正整数分钟 \(𝑇\ ...
分类:
其他好文 时间:
2021-02-06 11:50:09
阅读次数:
0
npm install -g create-react-app npx create-react-app my-app 1.npm run eject 2.html计算 <script> !(function (win, doc) { function setFontSize() { var bas ...
分类:
移动开发 时间:
2021-02-05 10:58:45
阅读次数:
0
limitDecimals = value => { const reg = /^(\-)*(\d+)\.(\d).*$/; if (typeof value 'string') { return !isNaN(Number(value)) ? value.replace(reg, '$1$2.$3 ...
分类:
其他好文 时间:
2021-02-05 10:41:28
阅读次数:
0
NX二次开发-检查文件夹是否存在 1 bool CheckFolderExist(const string & strPath) 2 { 3 if (strPath.empty()) 4 { 5 return false; 6 } 7 8 WIN32_FIND_DATA wfd; 9 BOOL bV ...
分类:
其他好文 时间:
2021-02-05 10:36:27
阅读次数:
0