02-Vue入门之数据绑定
02Vue入门之数据绑定02Vue入门之数据绑定2.1.什么是双向绑定?Vue框架很核心的功能就是双向的数据绑定。双向是指:HTML标签数据绑定到Vue对象,另外反方向数
隔壁老王 隔壁老王
4年前
Qt制作简单配置窗口
在上一篇登录操作之后新建设计类记录用户信息及服务端连接信息头文件cppifndefCLIENTCONFIGHdefineCLIENTCONFIGHinclude<QWidgetinclude<QDialoginclude"fileoperation.h"namespaceUiclassclientconfig;classclientconfi
Wesley13 Wesley13
4年前
java导出多sheet的excel
excel工具类,适合单sheet或多sheet的excel表格导出packageUtil;importorg.apache.poi.hssf.usermodel.HSSFWorkbook;importorg.apache.poi.ss.usermodel.\;importjavax.servlet.ServletOut
Wesley13 Wesley13
4年前
iOS 网易新闻用户头像翻转效果核心代码
1.首先要先分清实现的过程,目测应该是使用了苹果自带的UIview类方法:(void)transitionFromView:(UIView\)fromViewtoView:(UIView\)toViewduration:(NSTimeInterval)durationoptions:    (UIViewAnimatio
Stella981 Stella981
4年前
HandlerThread
andlerThread类实现了Looper的循环处理消息的功能HandlerThreadhandlerThreadnewHandlerTread("handler\_thread");//使用HandlerThread的getLooper方法之前必须先调用start方法handlerThread.start();//取出h
Wesley13 Wesley13
4年前
activiti 5.16 businessKey 为null 处理。
activiti版本5.16产生原因:创建子流程时,businesskey不传递。解决如下:1、创建监听类:importorg.activiti.engine.delegate.event.ActivitiEntityEvent;importorg.activiti.engine.delegate.even
Wesley13 Wesley13
4年前
DAY83
一、forms组件基本使用视图层第一步:导入formsfromdjangoimportformsfromdjango.formsimportwidgets第二步:定义的类classUser_form(forms.Form):第
Stella981 Stella981
4年前
Django模型Model的定义
Django对各种数据库提供了很好的支持,Django为这些数据库提供了统一的调用API,可以根据不同的业务需求选择不同的数据库。模型、属性、表、字段间的关系<pstyle"color:red"一个模型类在数据库中对应一张表,在模型类中定义的属性,对应该模型对照表中的一个字段。</p\\ObjectRelation
Easter79 Easter79
4年前
TreeATE平台API说明
\_\_ate为TreeATE平台的接口对象,当前V1.x版本实现了以下几个方法。这些方法都是由测试脚本调用。例如:defsetup_suite1():__ate.OutputError("setup_suite1")ret__ate.GetUserName()__ate.OutputError("Ge