Easter79 Easter79
3年前
vue+iview中的table表格导出excel表格
一、iveiw框架中table中有exportCsv()方法可以导出.csv后缀文件,类似于excel文件,但是并不是excel文件。二、实现table表格导出excel文件利用Blob.js和Export2Excel.js两个文件实现  1.Blob.js和Export2Excel.js文件    链接:https://pan.baid
Easter79 Easter79
3年前
tf.keras遇见的坑:Output tensors to a Model must be the output of a TensorFlow `Layer`
经过网上查找,找到了问题所在:在使用keras编程模式是,中间插入了tf.reshape()方法便遇到此问题。 解决办法:对于遇到相同问题的任何人,可以使用keras的Lambda层来包装张量流操作,这是我所做的:embed1keras.layers.Embedding(10000,32)(inputs)
Stella981 Stella981
3年前
Linux下安装swftools
由于笔者写了一个在线察看office,pdf文档的工具DocViewer(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fwww.log4ic.com%2Fdocviewer)中用到了swftools来处理pdf到swf的过程,故在此拟写linux下安装swftools的方法。首先看下
Stella981 Stella981
3年前
Spring MVC 解读——@RequestMapping (2)
SpringMVC解读——@RequestMapping    上一篇文章中我们了解了Spring如何处理@RequestMapping注解,并将请求映射信息保存到系统中以处理客户端发送来的请求,但是Spring是怎样接受请求,并根据请求URL来匹配正确的处理器方法呢,更重要的是Sprin
Stella981 Stella981
3年前
ABP EventBus(事件总线)
事件总线就是订阅/发布模式的一种实现  事件总线就是为了降低耦合1.比如在winform中 到处都是事件 !(https://oscimg.oschina.net/oscnet/ed3426bf15550c4b0623956eb95e826780d.png)触发事件的对象 sender事件的数据  e事件的处理逻辑 方法
Wesley13 Wesley13
3年前
Java8—一万字的Lambda表达式的详细介绍与应用案例
  基于Java8详细介绍了lambda表达式的语法与使用,以及方法引用、函数式接口、lambda复合等Java8的新特性!文章目录1Lambda的概述2函数式接口2.1Consumer消费型接口2.2Supplier供给型接口2.3Function<T,R函数型接口
Stella981 Stella981
3年前
SpringBoot2.0中的事务@Transactional
在SpringBoot2.0中使用使用需要注意的地方。1\.加@Transactional的方法不能是private和protected修饰,private会直接报编译错误,protected不会报错。但是事务不起作用。2\.@Transactional可以放在Controller下面直接起作用,看到网上好多同学说要放到@Component下面或
Easter79 Easter79
3年前
Springboot之spring
一、前言springboot模块提供了一些特性用来支持springboot中其他模块,这些特性包含如下:SpringApplication类提供了静态方法以便于写一个独立了spring应用程序,该类的主要职责是create和refresh一个合适的Spring应用程序上下文(ApplicationContext)
Stella981 Stella981
3年前
Git常用操作
本文(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Faicode.cc%2Farticle%2F429.html)并非讲解分支管理知识,而是记录了Git分支管理的一些命令使用方法,供使用时参考。以下使用<branch\_name表示用户需要替换的内容创建分支
Stella981 Stella981
3年前
IM多类型holder封装
如标题,这是一个在列表多类型视图时的一个简化封装方法,减少多余代码,提高复用性,更好迭代扩展,先看视图列表效果图GitHub:https://github.com/1024477951/FragmentApp(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fgithub.com%2F