Commit 156f60df64f696ebb1bce4d3057507e75469cfc5

Authored by liuxuqinfhp1220
1 parent b690f996

no message

Showing 1 changed file with 7 additions and 10 deletions
... ... @@ -10,7 +10,6 @@ Page({
})
this.remark=opt.remark;
this.getlabellist();
this.blurcount=0;
},
inputremark(e){
this.remark=util.trim(e.detail.value)
... ... @@ -19,7 +18,6 @@ Page({
selectlabel(e){
let name=e.currentTarget.dataset.name;
if(this.remark!=''){
this.blurcount++;
let str=this.remark+','+name
if(str.length>25){
console.log('rrrrrr')
... ... @@ -30,20 +28,19 @@ Page({
duration:1500
})
}
this.setData({
remark:this.remark=='' ? name : this.remark+','+name
})
}
this.setData({
remark:this.remark=='' ? name : this.remark+','+name
})
this.remark=this.remark=='' ? name : this.remark+','+name
console.log(this.remark,this.remark.length)
},
inputblur(e){
console.log(e)
if(this.blurcount==0){
this.setData({
remark:this.remark
})
}
this.setData({
remark:this.remark
})
},
getlabellist(){
App.Customer.GetUserRemarkes().then((json)=>{
... ...