Bläddra i källkod

协作文件 蓝色图标样式修改

dev-remain
kim131 4 år sedan
förälder
incheckning
9ab0d8bb57
3 ändrade filer med 3 tillägg och 7 borttagningar
  1. +1
    -1
      public/static/css/main.css
  2. +1
    -1
      src/views/main_web/workspace/components/file-item.vue
  3. +1
    -5
      src/views/main_web/workspace/workspace.new.vue

+ 1
- 1
public/static/css/main.css Visa fil

@@ -9072,7 +9072,7 @@ h5.dulilabel{
}
/* 文件左上角图标 */
.green-icon, .gray-icon {
.green-icon, .gray-icon , .blue-icon {
display: block;
width: 24px;
height: 24px;


+ 1
- 1
src/views/main_web/workspace/components/file-item.vue Visa fil

@@ -121,7 +121,7 @@
class="yijianxietong"
>
<i
class="blue-icon icon"
class="blue-icon icon font_family"
title="当前文件不是最新的文件"
@click="clientDownLoad(file, 1)"
/>


+ 1
- 5
src/views/main_web/workspace/workspace.new.vue Visa fil

@@ -670,12 +670,8 @@ export default {
}
);
this.timerIns = setTimeout(() => { this.intervalTask(); }, 3000);
},
beforeDestroy() {

},
destroyed: function () {
console.log('destroyed');
window.removeEventListener("scroll", this.onscroll);
window.removeEventListener("resize", this.listenBottomHeight);
// window.removeEventListener("mouseenter", this.setIconMouseEnter);
@@ -1604,7 +1600,6 @@ export default {
* 文件打开方式
*/
async openFileWith(file) {
debugger;
const localWorkspacePrefix = this.localWorkspacePrefix;
const fileStoreKey = getFileStoreKey(file, this.currentNodeFolder);
if(!this.localFileHashMap[fileStoreKey]) return;
@@ -1613,6 +1608,7 @@ export default {
// 若文件在协作文件中,则不更改状态
const { archName, extension, id: fileId, nodeName } = file;
const isCooperationFile = !!nodeName;
console.log(filePath);
if(isCooperationFile) { system.clientOpenFileWith(filePath); return; }
// 将文件状态设置为编辑中
const flagRes = await services.changeFileWorkStatus(fileId, 2);


Laddar…
Avbryt
Spara