joywok-business-components
Advanced tools
Comparing version 0.0.151 to 0.0.152
@@ -90,2 +90,6 @@ import React, { Component } from 'react'; | ||
}); | ||
$(".jw-shareobj .ant-select-search__field").addClass('hide') | ||
setTimeout(function(){ | ||
$(".jw-shareobj .ant-select-search__field").removeClass('hide') | ||
},200) | ||
if (typeof (this.props.onChange) == 'function') { | ||
@@ -250,5 +254,5 @@ this.props.onChange(datas) | ||
onDeselect: (e) => this.removeChange(e), | ||
onSelect: (e) => this.selectChange(e) | ||
onSelect: (e) => this.selectChange(e), | ||
}) | ||
this.originShareobj = $.extend(true,[],this.props.shareobj||[]); | ||
@@ -305,3 +309,3 @@ return (<div className="jw-shareobj" id={this.shareobjId}> | ||
componentDidMount() { | ||
this.originShareobj = $.extend(true,[],this.props.shareobj||[]); | ||
this.originShareobj = $.extend(true,[],this.props.shareobj||[]); | ||
this.originPlaceholder = this.props.placeholder; | ||
@@ -308,0 +312,0 @@ if(this.props.removeInput!=undefined&&this.props.removeInput==true){ |
@@ -78,2 +78,3 @@ 'use strict'; | ||
_this.fetchData = function (value) { | ||
console.log("value::::::", value); | ||
var self = _this; | ||
@@ -146,2 +147,6 @@ clearTimeout(_this.time); | ||
}); | ||
$(".jw-shareobj .ant-select-search__field").addClass('hide'); | ||
setTimeout(function () { | ||
$(".jw-shareobj .ant-select-search__field").removeClass('hide'); | ||
}, 200); | ||
if (typeof this.props.onChange == 'function') { | ||
@@ -148,0 +153,0 @@ this.props.onChange(datas); |
{ | ||
"name": "joywok-business-components", | ||
"version": "0.0.151", | ||
"version": "0.0.152", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
1300916
18291