src/zzsper/onCreated.js
// If the user has set the initial date, first find the DOM and set the class
If the user has set the initial date, first find the DOM and set the class
If the user has set the initial date first find the DOM and set the class
function handleInitSeleted(datas, opts) {
  const { selectDate: { cur }, cls: { cls_selected } } = opts
  const { doms: { ymDs } } = datas
  if (cur === null) return false
  const { year, month, date } = cur
  const dD = ymDs[year] && ymDs[year][month] && ymDs[year][month].dDs[date - 1]
  dD && addClass(dD, cls_selected)
}
function handleInitSeleted ( datas , opts ) { const { selectDate : { cur } , cls : { cls_selected } } = opts const { doms : { ymDs } } = datas if ( cur === null ) return false const { year , month , date } = cur const dD = ymDs [ year ] && ymDs [ year ] [ month ] && ymDs [ year ] [ month ] . dDs [ date - 1 ] dD && addClass ( dD , cls_selected ) }
If the user has set the initial date, first find the DOM and set the class
If the user has set the initial date first find the DOM and set the class