LaTeX中添加usepackage{subfigure}一直报错的原因就是:
只需要将原来的
usepackage{tocloft}修改为
usepackage[subfigure]{tocloft}即可;另外再加入需要的包
usepackage{subfigure}大功告成