Commit 90949388 authored by 罗超's avatar 罗超

1

parent 7b6bb24f
...@@ -166,6 +166,7 @@ import { ...@@ -166,6 +166,7 @@ import {
UploadSelfFile("course", files[0], res => { UploadSelfFile("course", files[0], res => {
if (res.Code == 1) { if (res.Code == 1) {
this.addMsg.PictureUrl = res.FileUrl; this.addMsg.PictureUrl = res.FileUrl;
this.$forceUpdate();
} }
}); });
}, },
...@@ -173,6 +174,7 @@ import { ...@@ -173,6 +174,7 @@ import {
UploadSelfFile("course", files[0], res => { UploadSelfFile("course", files[0], res => {
if (res.Code == 1) { if (res.Code == 1) {
this.addMsg.SamplePicturesUrl = res.FileUrl; this.addMsg.SamplePicturesUrl = res.FileUrl;
this.$forceUpdate();
} }
}); });
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment