declare module '@alipay/bigfish' { function useModel<S>(initialState: string); function request<S>(url: string, options: any); export const history: { ...
分类:
其他好文 时间:
2021-04-01 12:52:52
阅读次数:
0
export function formatInput(data: string) { console.log(data) var reg = /[^\d\.\,]/g; return data.replace(reg,'') // return data.replace(/^\,*^\D*(\d* ...
分类:
其他好文 时间:
2021-03-31 12:27:10
阅读次数:
0
1 function timeChange(time) { 2 var date = new Date(time);//时间戳为10位需*1000,时间戳为13位的话不需乘1000 3 var Y = date.getFullYear() + '-'; 4 var M = (date.getMont ...
分类:
其他好文 时间:
2021-03-31 12:19:55
阅读次数:
0
批量更新某个字段 例1: db.getCollection('bond_sentiment_news').find({"source" : 2,"siteUrl" : "http://www.21jingji.com/"}).forEach( function(item){ db.getCollec ...
分类:
数据库 时间:
2021-03-31 12:11:19
阅读次数:
0
js代码: 1 function wordlimit(cname, wordlength) { 2 var cname = document.getElementsByClassName(cname); 3 for (var i = 0; i < cname.length; i++) { 4 var ...
分类:
Web程序 时间:
2021-03-31 12:07:07
阅读次数:
0
#include <iostream> #include <vector> #include <thread> #include <mutex> #include <condition_variable> #include <queue> #include <functional> using na ...
分类:
编程语言 时间:
2021-03-30 13:55:19
阅读次数:
0
Shell函数 linux shell 可以用户定义函数,然后在shell脚本中可以随便调用。 shell中函数的定义格式如下: [ function ] funname [()] { action; [return int;] } 说明: 1、可以带function fun() 定义,也可以直接f ...
分类:
系统相关 时间:
2021-03-30 13:46:15
阅读次数:
0
在添加图片 请求到方法接收 open打开当前的图片路径 text 第一个参数时你要添加的水印是 第二个参数是路径 public function imlist(){ // 获取表单上传文件 例如上传了001.jpg $file = request()->file('img'); // 移动到框架应用 ...
分类:
Web程序 时间:
2021-03-30 13:35:21
阅读次数:
0
啊啊啊~ 目的 1、考虑图像预处理的合理性和结果。能达到什么样的结果,该结果是否满足我的需要,如果多余是否有删除的必要? 2、切割问题,他是怎样实现字符的切割的?字符之间识别的依据和划定该依据的标准是什么? Part 1 % function [d]=main() close all clc % 清 ...
分类:
其他好文 时间:
2021-03-30 13:15:22
阅读次数:
0
air stage.addEventListener(FullScreenEvent.FULL_SCREEN,screenHandle); function screenHandle(e:FullScreenEvent):void { if(!e.fullScreen) { NativeApplic ...
分类:
其他好文 时间:
2021-03-30 13:02:20
阅读次数:
0