index-status.wxs 174 B

123456789101112
  1. function get(index, active) {
  2. if (index < active) {
  3. return 'finish';
  4. } else if (index === active) {
  5. return 'process';
  6. }
  7. return '';
  8. }
  9. module.exports = get;