store方法里面data有值为什么页面获取的是null?-灵析社区

古典研发君

store方法里面data有值为什么页面获取的是null ![image.png](https://wmprod.oss-cn-shanghai.aliyuncs.com/c/user/20241002/b4b819e82a96886c0b26896339667029.png) ![image.png](https://wmprod.oss-cn-shanghai.aliyuncs.com/c/user/20241002/cdc1a70dc3f6eee98c8814bbaf65b409.png)

阅读量:148

点赞量:0

问AI
云卿山手
因为你 "return" 错了吧?并没有返回你的 "Promise.resolve(data)" 而是返回了 "this.afterLoginAction(xxx)" 的执行结果。