在做search模块的接口请求时,接口请求成功,但是在state仓库为空对象 可见searchList为空对象 排查代码,发现在actions中的if判断语句中写成 result ==200 正确的代码为: