Kaynağa Gözat

[VersionBeta] V.1.0.0.0

[Adds]
1.下载文件更新文件下载状态
master
xzx 4 yıl önce
ebeveyn
işleme
56ed9917f4
1 değiştirilmiş dosya ile 1 ekleme ve 2 silme
  1. +1
    -2
      src/views/main_web/workspace.vue

+ 1
- 2
src/views/main_web/workspace.vue Dosyayı Görüntüle

@@ -2977,7 +2977,6 @@ export default {
* 获取当前工作下文件 * 获取当前工作下文件
*/ */
listFiles: function() { listFiles: function() {
console.log(new Date())
var thisApp = this; var thisApp = this;
thisApp.isCommonPage = false; thisApp.isCommonPage = false;
//thisApp.myFilesList = []; //thisApp.myFilesList = [];
@@ -3799,7 +3798,6 @@ export default {
) )
}) })
.then(response => { .then(response => {
console.log(response);
if (response.data.state == 1) { if (response.data.state == 1) {
thisApp.$notify({ thisApp.$notify({
title: "温馨提示", title: "温馨提示",
@@ -3808,6 +3806,7 @@ export default {
offset: 30, offset: 30,
duration: 2000 duration: 2000
}); });
file.downloadStatus = 1;
var archid = file.archID; var archid = file.archID;
var filename = file.archName + "." + file.extension; var filename = file.archName + "." + file.extension;
var folderID = file.folderID; var folderID = file.folderID;