mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-16 14:12:51 +00:00
no message
This commit is contained in:
parent
cfb653796c
commit
4612d5180a
16
electron/electron.js
vendored
16
electron/electron.js
vendored
@ -343,6 +343,8 @@ function createWebTabWindow(args) {
|
|||||||
if (utils.isMetaOrControl(input) && input.key.toLowerCase() === 'r') {
|
if (utils.isMetaOrControl(input) && input.key.toLowerCase() === 'r') {
|
||||||
reloadWebTab(0)
|
reloadWebTab(0)
|
||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
|
} else if (utils.isMetaOrControl(input) && input.shift && input.key.toLowerCase() === 'i') {
|
||||||
|
devToolsWebTab(0)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -424,7 +426,7 @@ function createWebTabWindow(args) {
|
|||||||
if (utils.isMetaOrControl(input) && input.key.toLowerCase() === 'r') {
|
if (utils.isMetaOrControl(input) && input.key.toLowerCase() === 'r') {
|
||||||
browserView.webContents.reload()
|
browserView.webContents.reload()
|
||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
} else if (input.meta && input.shift && input.key.toLowerCase() === 'i') {
|
} else if (utils.isMetaOrControl(input) && input.shift && input.key.toLowerCase() === 'i') {
|
||||||
browserView.webContents.toggleDevTools()
|
browserView.webContents.toggleDevTools()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@ -469,6 +471,18 @@ function reloadWebTab(id) {
|
|||||||
item.view.webContents.reload()
|
item.view.webContents.reload()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 内置浏览器标签打开开发者工具
|
||||||
|
* @param id
|
||||||
|
*/
|
||||||
|
function devToolsWebTab(id) {
|
||||||
|
const item = id === 0 ? currentWebTab() : webTabView.find(item => item.id == id)
|
||||||
|
if (!item) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
item.view.webContents.toggleDevTools()
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 调整内置浏览器标签尺寸
|
* 调整内置浏览器标签尺寸
|
||||||
* @param id
|
* @param id
|
||||||
|
|||||||
@ -1541,3 +1541,13 @@ License Key
|
|||||||
文件(*)已存在,是否替换?
|
文件(*)已存在,是否替换?
|
||||||
保留两者
|
保留两者
|
||||||
替换
|
替换
|
||||||
|
|
||||||
|
端到端加密
|
||||||
|
关闭端到端加密传输数据。
|
||||||
|
等(*)个文件
|
||||||
|
你确定要删除【(*)】等2个文件吗?
|
||||||
|
审批详情
|
||||||
|
天前
|
||||||
|
月前
|
||||||
|
请输入用户名
|
||||||
|
是否拨打电话给(*)?
|
||||||
|
|||||||
@ -99,8 +99,7 @@ export default {
|
|||||||
handler() {
|
handler() {
|
||||||
this.$store.dispatch("websocketConnection");
|
this.$store.dispatch("websocketConnection");
|
||||||
//
|
//
|
||||||
if (this.userId > 0) {
|
if (this.userId > 0 && this.$isEEUiApp) {
|
||||||
if (this.$isEEUiApp) {
|
|
||||||
$A.eeuiAppSendMessage({
|
$A.eeuiAppSendMessage({
|
||||||
action: 'intiUmeng',
|
action: 'intiUmeng',
|
||||||
});
|
});
|
||||||
@ -113,7 +112,6 @@ export default {
|
|||||||
});
|
});
|
||||||
}, 6000)
|
}, 6000)
|
||||||
}
|
}
|
||||||
}
|
|
||||||
},
|
},
|
||||||
immediate: true
|
immediate: true
|
||||||
},
|
},
|
||||||
|
|||||||
@ -43,7 +43,7 @@
|
|||||||
<div class="file-shear">
|
<div class="file-shear">
|
||||||
<span>{{$L('粘贴')}}</span>
|
<span>{{$L('粘贴')}}</span>
|
||||||
<template v-show="showBtnText">"<em>{{shearFirst.name}}</em>"</template>
|
<template v-show="showBtnText">"<em>{{shearFirst.name}}</em>"</template>
|
||||||
<span v-if="shearIds.length > 1">{{$L('等')}}{{shearIds.length}}{{$L('个文件')}}</span>
|
<span v-if="shearIds.length > 1">{{ $L(`等${shearIds.length}个文件`) }}</span>
|
||||||
</div>
|
</div>
|
||||||
</Button>
|
</Button>
|
||||||
<Button type="primary" size="small" @click="clearShear">{{ $L('取消剪切') }}</Button>
|
<Button type="primary" size="small" @click="clearShear">{{ $L('取消剪切') }}</Button>
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
Subproject commit 4a1bc0e7781bb0d9773c48728af748926a5b5efa
|
Subproject commit defad00b4b9cd936dfe7dea2a4cfaddb6e9fd0df
|
||||||
Loading…
x
Reference in New Issue
Block a user