test
This commit is contained in:
@@ -28,11 +28,8 @@ layui.define('jquery',function(exports){
|
||||
,options = that.config;
|
||||
|
||||
return {
|
||||
|
||||
function(value){
|
||||
console.log(options)
|
||||
|
||||
//that.setValue();
|
||||
setvalue: function(value){
|
||||
that.setvalue.call(that, value);
|
||||
}
|
||||
,config: options
|
||||
}
|
||||
@@ -99,6 +96,16 @@ layui.define('jquery',function(exports){
|
||||
};
|
||||
|
||||
|
||||
//重置value
|
||||
Class.prototype.setvalue = function(value){
|
||||
var that = this
|
||||
,options = that.config ;
|
||||
|
||||
options.value = value
|
||||
|
||||
}
|
||||
|
||||
|
||||
//li触控事件
|
||||
Class.prototype.action = function(){
|
||||
var that = this
|
||||
|
||||
Reference in New Issue
Block a user