{{parse.getKeyBoard(index,action)}} module.exports = { getKeyBoard: function(index,action) { var content = index + 1; if (index == 9) { content = action?"取消":"清除"; } else if (index == 10) { content = 0; } return content; } }