【发布时间】:2022-01-04 10:59:51
【问题描述】:
美好的一天!
所以,如果我在 Flas 中遇到错误 TypeError: 'method' object is not subscriptable,我需要做什么
file = flask.request.files.getlist['propert_photo[]']
TypeError: 'method' object is not subscriptable
<div class="form-group">
<label for="exampleFormControlFile1">Фотографии</label>
<input name = "propert_photo[]" type="file" accept="image/png" multiple="" class="form-control-file" id="exampleFormControlFile1">
</div>
请帮忙
【问题讨论】: