Browse Source

no message

featrue/v4.5
xpz2018 4 years ago
parent
commit
393840fdbf
2 changed files with 3 additions and 1 deletions
  1. 1
      pages/moment/fragment/index.js
  2. 3
      pages/moment/moment-item/index.wxml

1
pages/moment/fragment/index.js

@ -129,7 +129,6 @@ Component({
}) })
}, },
handResult: function(record){ handResult: function(record){
console.log(params.data)
if(record.latestQuoteTime.indexOf(params.date) < 0){ if(record.latestQuoteTime.indexOf(params.date) < 0){
return return
} }

3
pages/moment/moment-item/index.wxml

@ -84,6 +84,9 @@
return '- -' return '- -'
} }
var shortName = function(val){ var shortName = function(val){
if(!val){
return '- -'
}
if(val.length > 4){ if(val.length > 4){
return val.substring(0, 4) + '...' return val.substring(0, 4) + '...'
} }

Loading…
Cancel
Save