Limour commited on
Commit
3950bc6
1 Parent(s): e6c381a

Upload btn_submit_vo_suggest.py

Browse files
Files changed (1) hide show
  1. mods/btn_submit_vo_suggest.py +12 -15
mods/btn_submit_vo_suggest.py CHANGED
@@ -1,16 +1,13 @@
1
  def init(cfg):
2
- cfg['btn_submit_vo_suggest'].click(
3
- **cfg['btn_start']
4
- ).success(
5
- **cfg['btn_submit_fn_usr']
6
- ).success(
7
- **cfg['btn_rag_fn']
8
- ).success(
9
- **cfg['btn_submit_fn_bot']
10
- ).success(
11
- **cfg['btn_vo_fn']
12
- ).success(
13
- **cfg['btn_suggest_fn']
14
- ).success(
15
- **cfg['btn_finish']
16
- )
 
1
  def init(cfg):
2
+ # ========== 自定义组合建的功能 ==========
3
+ combine = [
4
+ 'btn_submit_fn_usr',
5
+ 'btn_rag_fn',
6
+ 'btn_submit_fn_bot',
7
+ 'btn_vo_fn',
8
+ 'btn_suggest_fn'
9
+ ]
10
+ tmp = cfg['btn_submit_vo_suggest'].click(**cfg['btn_start'])
11
+ for f in combine:
12
+ tmp = tmp.success(**cfg[f])
13
+ tmp.success(**cfg['btn_finish'])