<el-select v-model="form.coupon" placeholder="请选择优惠券类型" @change="selectCoupon" > <el-option v-for="(item, index) in couponList" :key="index" :label="` ...
分类:
其他好文 时间:
2020-06-16 14:49:30
阅读次数:
213
[golang] golang文件读写 os.OpenFile(fileName,os.O_APPEND|os.O_WRONLY,os.ModeAppend) 读写文件要用到的OS包 func OpenFile(name string, flag int, perm FileMode) (*File ...
分类:
移动开发 时间:
2020-06-16 12:46:28
阅读次数:
103
参考csdn 1.句子分割 text_to_word_sequence keras.preprocessing.text.text_to_word_sequence(text, filters='!"#$%&()*+,-./:;<=>?@[\]^_`{|}~\t\n', lower=True, sp ...
分类:
其他好文 时间:
2020-06-15 22:55:49
阅读次数:
70
一、实验要求 结合中断上下文切换和进程上下文切换分析Linux内核一般执行过程 以fork和execve系统调用为例分析中断上下文的切换 分析execve系统调用中断上下文的特殊之处 分析fork子进程启动执行时进程上下文的特殊之处 以系统调用作为特殊的中断,结合中断上下文切换和进程上下文切换分析L ...
分类:
系统相关 时间:
2020-06-14 20:36:16
阅读次数:
62
水仙花数(Narcissistic number)也被称为超完全数字不变数(pluperfect digital invariant, PPDI)、自恋数、自幂数、阿姆斯壮数或阿姆斯特朗数(Armstrong number),水仙花数是指一个 3 位数,它的每个位上的数字的 3次幂之和等于它本身(例... ...
分类:
其他好文 时间:
2020-06-14 18:27:31
阅读次数:
77
题目: You are given a sequence a1,a2,…,an consisting of n non-zero integers (i.e. ai≠0). You have to calculate two following values: the number of pairs ...
分类:
其他好文 时间:
2020-06-14 16:59:19
阅读次数:
54
Description 从字符串$s$中选出子集从左往右按顺序放到$p$的结尾($p$初始为空串),最多可以这样操作两次,询问是否能得到 $p=t \ (1\leq|t|\leq|s|\leq400)$ Solution 在$t$中枚举断点$mid$,$t[1, mid]$为第一次操作选出,$t[m ...
分类:
其他好文 时间:
2020-06-14 14:47:13
阅读次数:
50
JAVA就业面试题4.1单例模式?单例,就是整个程序有且仅有一个实例。该类负责创建自己的对象,同时确保只有一个对象被创建。特点持有自己类型的属性类构造器私有对外提供获取实例的静态方法4.1.1懒汉式/**Createdby张晨光on2020/6/1211:07懒汉式*/publicclassBanzhang{//1.自己类的静态属性privatestaticBanzhangbz;//2.私有的构造
分类:
编程语言 时间:
2020-06-14 01:32:43
阅读次数:
110
// 选择文件上传控件 var file = document.querySelector('#file'); var preview = document.querySelector('#preview'); file.onchange = function() { //1 创建文件读取对象 va ...
分类:
Web程序 时间:
2020-06-13 19:32:29
阅读次数:
115
解决方法:使用upload.clearFiles()方法清空文件列表 页面: <el-upload ref="upload_file" action="" :multiple="false" :limit="1" :show-file-list="false" :on-change="importE ...
分类:
其他好文 时间:
2020-06-12 10:49:48
阅读次数:
141