PyWebIO v1.2.3 Documentation
value: label and value of option use the same value Attention: 1. The value of option can be any JSON serializable object 2. If the multiple is not True, the list of options can only have one selected [disabled]) single value: label and value of button use the same value The value of button can be any JSON serializable object. type can be: 'submit' : After clicking the button, the entire form is submitted {'label': 'Cancel', 'type': 'cancel'}, ], name='action', help_text='actions'), ]) put_code('info = ' + json.dumps(info, indent=4)) if info is not None: save_user(info['username'], info['password'])0 码力 | 119 页 | 7.43 MB | 1 年前3PyWebIO v1.2.2 Documentation
value: label and value of option use the same value Attention: 1. The value of option can be any JSON serializable object 2. If the multiple is not True, the list of options can only have one selected [disabled]) single value: label and value of button use the same value The value of button can be any JSON serializable object. type can be: 'submit' : After clicking the button, the entire form is submitted {'label': 'Cancel', 'type': 'cancel'}, ], name='action', help_text='actions'), ]) put_code('info = ' + json.dumps(info, indent=4)) if info is not None: save_user(info['username'], info['password'])0 码力 | 119 页 | 7.41 MB | 1 年前3PyWebIO v1.2.3 使用手册
list: (label, value, [selected,] [disabled] 单值: 此时label和value使用相同的值 注意: 1. options 中的 value 可以为任意可JSON序列化对象 2. 若 multiple 选项不为 True 则可选项列表最多仅能 有一项的 selected 为 True。 multiple (bool) – 是否可以多选. 默认单选 value 略 value tuple or list: (label, value, [type], [disabled]) 单值: 此时label和value使用相同的值 其中, value 可以为任意可JSON序列化的对象。 type 可选值为: 'submit' : 点击按钮后,立即将整个表单提交, 最终表单中本项的值为被点击按钮的 value 值。 'submit' 为 type 的默认值 'cancel' {'label': 'Cancel', 'type': 'cancel'}, ], name='action', help_text='actions'), ]) put_code('info = ' + json.dumps(info, indent=4)) if info is not None: save_user(info['username'], info['password'])0 码力 | 119 页 | 7.44 MB | 1 年前3PyWebIO v1.2.2 使用手册
list: (label, value, [selected,] [disabled] 单值: 此时label和value使用相同的值 注意: 1. options 中的 value 可以为任意可JSON序列化对象 2. 若 multiple 选项不为 True 则可选项列表最多仅能 有一项的 selected 为 True。 multiple (bool) – 是否可以多选. 默认单选 value 略 value tuple or list: (label, value, [type], [disabled]) 单值: 此时label和value使用相同的值 其中, value 可以为任意可JSON序列化的对象。 type 可选值为: 'submit' : 点击按钮后,立即将整个表单提交, 最终表单中本项的值为被点击按钮的 value 值。 'submit' 为 type 的默认值 'cancel' {'label': 'Cancel', 'type': 'cancel'}, ], name='action', help_text='actions'), ]) put_code('info = ' + json.dumps(info, indent=4)) if info is not None: save_user(info['username'], info['password'])0 码力 | 119 页 | 7.41 MB | 1 年前3PyWebIO v1.1.0 使用手册
list: (label, value, [selected,] [disabled] 单值: 此时label和value使用相同的值 注意: 1. options 中的 value 可以为任意可JSON序列化对象 2. 若 multiple 选项不为 True 则可选项列表最多仅能 有一项的 selected 为 True。 multiple (bool) – 是否可以多选. 默认单选 value value tuple or list: (label, value, [type], [disabled]) 单值: 此时label和value使用相同的值 其中, value 可以为任意可JSON序列化的对象。 type 可选值为: 'submit' : 点击按钮后,立即将整个表单提交, 最终表单中本项的值为被点击按钮的 value 值。 'submit' 为 type 的默认值 'cancel' {'label': '取消', 'type': 'cancel'}, ], name='action', help_text='actions'), ]) put_code('info = ' + json.dumps(info, indent=4)) if info is not None: save_user(info['username'], info['password'])0 码力 | 119 页 | 7.41 MB | 1 年前3PyWebIO v1.3.2 Documentation
value: label and value of option use the same value Attention: 1. The value of option can be any JSON serializable object 2. If the multiple is not True, the list of options can only have one selected [disabled]) single value: label and value of button use the same value The value of button can be any JSON serializable object. type can be: 'submit' : After clicking the button, the entire form is submitted {'label': 'Cancel', 'type': 'cancel'}, ], name='action', help_text='actions'), ]) put_code('info = ' + json.dumps(info, indent=4)) if info is not None: save_user(info['username'], info['password'])0 码力 | 133 页 | 7.44 MB | 1 年前3PyWebIO v1.3.0 Documentation
value: label and value of option use the same value Attention: 1. The value of option can be any JSON serializable object 2. If the multiple is not True, the list of options can only have one selected [disabled]) single value: label and value of button use the same value The value of button can be any JSON serializable object. type can be: 'submit' : After clicking the button, the entire form is submitted {'label': 'Cancel', 'type': 'cancel'}, ], name='action', help_text='actions'), ]) put_code('info = ' + json.dumps(info, indent=4)) if info is not None: save_user(info['username'], info['password'])0 码力 | 133 页 | 7.44 MB | 1 年前3PyWebIO v1.4.0 Documentation
value: label and value of option use the same value Attention: 1. The value of option can be any JSON serializable object 2. If the multiple is not True, the list of options can only have one selected [disabled]) single value: label and value of button use the same value The value of button can be any JSON serializable object. type can be: 'submit' : After clicking the button, the entire form is submitted {'label': 'Cancel', 'type': 'cancel'}, ], name='action', help_text='actions'), ]) put_code('info = ' + json.dumps(info, indent=4)) if info is not None: save_user(info['username'], info['password'])0 码力 | 135 页 | 7.45 MB | 1 年前3PyWebIO v1.3.1 Documentation
value: label and value of option use the same value Attention: 1. The value of option can be any JSON serializable object 2. If the multiple is not True, the list of options can only have one selected [disabled]) single value: label and value of button use the same value The value of button can be any JSON serializable object. type can be: 'submit' : After clicking the button, the entire form is submitted {'label': 'Cancel', 'type': 'cancel'}, ], name='action', help_text='actions'), ]) put_code('info = ' + json.dumps(info, indent=4)) if info is not None: save_user(info['username'], info['password'])0 码力 | 133 页 | 7.44 MB | 1 年前3PyWebIO v1.3.3 Documentation
value: label and value of option use the same value Attention: 1. The value of option can be any JSON serializable object 2. If the multiple is not True, the list of options can only have one selected [disabled]) single value: label and value of button use the same value The value of button can be any JSON serializable object. type can be: 'submit' : After clicking the button, the entire form is submitted {'label': 'Cancel', 'type': 'cancel'}, ], name='action', help_text='actions'), ]) put_code('info = ' + json.dumps(info, indent=4)) if info is not None: save_user(info['username'], info['password'])0 码力 | 133 页 | 7.44 MB | 1 年前3
共 86 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9