[Vue warn]: Invalid prop: type check failed for prop “image“. Expected String, got Null.

[Vue warn]: Invalid prop: type check failed for prop “image“. Expected String, got Null.
这里翻译过来就是image属性应该为String,但是为null
[Vue warn]: Invalid prop: type check failed for prop “image“. Expected String, got Null.
就是这里,两种原因,第一种,oss的impl实现层路径写错了
[Vue warn]: Invalid prop: type check failed for prop “image“. Expected String, got Null.
第二种,你的头像没加载出来,像这样:
[Vue warn]: Invalid prop: type check failed for prop “image“. Expected String, got Null.
ok,完美解决!

上一篇:C++:错误:expected unqualified-id before ‘=’ token


下一篇:微信小程序:求对数