添加必中(天选之子)模式#2
Open
yukikawas wants to merge 3 commits into
Open
Conversation
2. 抽出获奖员工后只显示获奖者自己照片,方便合影 3. 贺词格式修改,获奖者名字后加入回车换行
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
为了方便前期准备或老板要求,所以开发了必中模式
用法: 维护 js/config.js 中 staff_abslute 数组,填入你希望中奖的员工或员工们,然后将 abslute 变量值改为1。 从第一次抽奖开始,数组中的员工都会先于其他人先后中奖,直到他们都中完奖后才会继续抽取普通员工。
注:开启必中模式后会在Conf.title变量后添加字符串“调试模式“来提醒开发者现在处于调试模式下