提交 a0347c1b 编写于 作者: 打打卡夫卡's avatar 打打卡夫卡

恢复 非空判断

上级 41c0bf99
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
let lottieAnimationView = this.$el let lottieAnimationView = this.$el
if (TextUtils.isEmpty(newPath)) { if (lottieAnimationView != null && !TextUtils.isEmpty(newPath)) {
if (newPath.startsWith("http://") || newPath.startsWith("https://")) { if (newPath.startsWith("http://") || newPath.startsWith("https://")) {
lottieAnimationView.setAnimationFromUrl(newPath) lottieAnimationView.setAnimationFromUrl(newPath)
} else { } else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册