#op

el-select remote 远程搜索 多个共享一个options,options改变时输入框值不显示名称的问题

 原因:el-selectremote远程搜索多个共享一个options,当使用remote-method请求数据后,options被改变,value的值不包含在options中,value的值是一个id,当然就显示id了,难道还显示name?尝试解决的时候发现,把options置空,可以保留name的值方案...

SVN异常,Previous operation has not finished; run 'cleanup' if it was interrupted

SVN在提交、更新、cleanup时报错:Problemrunninglogsvn:FailedtoruntheWCDBworkqueueassociatedwith'D:workspacemsdev',workitem9414(file-installWebRoot/WEB-INF/lib/tms-express-a...

Autofac Property Injection and Method Injection

Whileconstructorparameterinjectionisthepreferredmethodofpassingvaluestoacomponentbeingconstructed,youcanalsousepropertyormethodinjectiontoprovidevalues.Property...

Carrying per-request context using the HttpRequestMessage.Properties

 InaWebAPIapplication,IuseCastleWindsortosupplyservicesconfiguredwithPerWebRequestlifetimeandeverythingworksfineonIIS.However,whenIusetheASP.NETWebAPISelfH...

Install hadoop on windows(non-virtual machine, such cygwin)

DownloadBeforestartingmakesureyouhavethistwosoftwaresHadoop2.7.1Java–Jdk1.7+ExtractdownloadedtarfileConfigurationStep1– Windowspathconfiguratio...

Package 'DXCore for Visual Studio' has failed to load properly

 Sinceinstalling13.1 IgetPackage'DXCoreforVisualStudio'hasfailedtoloadproperlyerrorwhenVS2008starts.IcannotloadDexExpressmanuallyeither.VS2010andVS201...

安装Net::OpenSSH 库

perl离线安装Net::OpenSSH库Net::OpenSSH库下载地址https://metacpan.org/pod/Net::OpenSSH直接获取安装包命令 wgethttps://cpan.metacpan.org/authors/id/S/SA/SALVA/Net-OpenSSH-0.74.t...
代码星球 代码星球·2020-04-05

hadoop 2.5.1单机安装部署伪集群

环境:ubuntu14.04server64版本hadoop2.5.1jdk1.6部署的步骤主要参考了http://blog.csdn.net/greensurfer/article/details/39450369这篇文章。 1安装java,配置好环境变量JAVA_HOMECLASSPATH具体步骤参考网上...

hadoop wordcount程序缺陷

在wordcount程序的main函数中,没有读取运行环境中的各种参数的值,全靠hadoop系统的默认参数跑起来,这样做是有风险的,最突出的就是OOM错误。自己在刚刚学习hadoop编程时,就是模仿wordcount程序编写。在数据量很小,作为demo程序跑,不会有什么问题,但当数据量激增,变成以亿计算时,各种问题都会...

新手安装 hadoop、hive和hbase 笔记

系统是ubuntu12.04,hadoop版本是1.2.1,hive版本是0.12,hbase版本我忘记了,不好意思首先是配置好hostnamevi/etc/hosts写入你要配置的ip和它的hostname这里我写入了192.168.19.129ubuntu给要部署hadoop的机器都互相配置信任关系,具体怎么玩,自...

SpringBoot入门教程(十八)@value、@Import、@ImportResource、@PropertySource

SpringBoot提倡基于Java的配置。这两篇博文主要介绍springboot一些常用的注解介绍通过@Value可以将外部的值动态注入到Bean中。添加application.properties的属性,方便后面演示。domain.name=cnblogs@Value("字符串1")privateStringtes...

SpringBoot入门教程(三)通过properties实现多个数据库环境自动切换配置

前面的文章已经介绍了CentOS部署SpringBoot项目从0到1的详细过程,包括Linux安装ftp、Tomcat以及Javajdk的全部过程。这篇文章主要介绍关于springboot如何通过多个properties实现数据库环境部署时自动切换配置的两种方式,部署时切换方式和打包时Maven控制方式。关于sprin...

angularjs: ng-select和ng-options

angular.js有一个很强大的指令:ng-select 它可以帮助你通过数据模型来创建select元素.它很好的支持了select标签的语法,但是却有点坑.假设有如下一段json数据:{"myOptions":[{"id":106,"group":"Group1","label":"Item1"},{"i...
代码星球 代码星球·2020-04-04

angularjs的ng-repeat指令下的scope作用域

ng-repeat指令在迭代的时候,每次迭代都会创建一个新的scope,比如下面的代码:<divng-repeat="listinlists"ng-controller="listController"><some-directive/></div>app.controller('l...
首页上一页...288289290291292...下一页尾页