Ver código fonte

[VersionBeta] V.1.0.0.0

[Adds]
1.修改点击公共文件闪跳回协作文件
new-cli
zxm 4 anos atrás
pai
commit
cc39e82086
1 arquivos alterados com 6 adições e 24 exclusões
  1. +6
    -24
      src/views/main_web/workspace.vue

+ 6
- 24
src/views/main_web/workspace.vue Ver arquivo

@@ -2921,8 +2921,6 @@ export default {
console.log(error);
});
} else {
this.fileindex = 0;
this.curactive = 0;
this.$axios({
method: "get",
url: encodeURI(
@@ -2936,26 +2934,6 @@ export default {
})
.then(response => {
thisApp.folderFileList = response.data;
// if (folderPerm == 0) {
// thisApp.myFilesList = thisApp.folderFileList.listAllFiles;
// // 加载我的文件夹 zxm+
// thisApp.myListFolderGroups =
// thisApp.folderFileList.listFolderGroups;
// } else {
// if (this.currentPageType == 0) {
// // 加载我的文件
// thisApp.myFilesList = thisApp.folderFileList.listMyFiles;
// // 加载我的文件夹 zxm+
// thisApp.myListFolderGroups =
// thisApp.folderFileList.listFolderGroups;
// } else {
// // 加载工作文件
// thisApp.myFilesList = thisApp.folderFileList.listOtherFiles;
// // 加载工作文件分组 zxm+
// thisApp.myListFolderGroups =
// thisApp.folderFileList.listOtherFolderGroups;
// }
// }
if (this.currentPageType == 0) {
// 加载我的文件
thisApp.myFilesList = thisApp.folderFileList.listMyFiles;
@@ -2968,8 +2946,12 @@ export default {
// 加载工作文件分组 zxm+
thisApp.myListFolderGroups =
thisApp.folderFileList.listOtherFolderGroups;
}
if(thisApp.curactive==0){
thisApp.listCollaborationFiles();
}else if(thisApp.curactive==1){
thisApp.loadListCommonFiles();
}
thisApp.listCollaborationFiles();
})
.catch(error => {
console.log(error);
@@ -3028,7 +3010,7 @@ export default {
*/
loadListCommonFiles: function() {
var thisApp = this;
thisApp.myPublicFilesList = [];
//thisApp.myPublicFilesList = [];
this.$axios({
method: "get",
url: encodeURI(


Carregando…
Cancelar
Salvar