修复闪屏逻辑
This commit is contained in:
@@ -180,13 +180,11 @@ export default {
|
|||||||
console.log(file);
|
console.log(file);
|
||||||
if (file && file.length > 0) {
|
if (file && file.length > 0) {
|
||||||
showLoading();
|
showLoading();
|
||||||
$('#urlUploadBtn').click(function () {
|
uploadFile('urlFile').then(res => {
|
||||||
uploadFile('urlFile').then(res => {
|
if (res.path) {
|
||||||
if (res.path) {
|
$this.resource.url = res.path;
|
||||||
$this.resource.url = res.path;
|
$('#urlUploadInfo').html('上传成功');
|
||||||
$('#urlUploadInfo').html('上传成功');
|
}
|
||||||
}
|
|
||||||
});
|
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
hideLoading();
|
hideLoading();
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user