module.exports.getText = function(value, curr) { if (value > curr) return '已完成'; if (value == curr) return'错误步骤'; return '未完成'; }