mirror of
https://github.com/viarotel-org/escrcpy.git
synced 2024-11-14 18:57:40 +01:00
fix: 🐛 修复录制结束点击取消异常弹窗以及点击重启服务没有反应的问题
This commit is contained in:
parent
f91a2002ee
commit
054c55b26d
@ -6,6 +6,7 @@ import tray from './tray/index.js'
|
||||
|
||||
export default (mainWindow) => {
|
||||
ipcMain.on('restart-app', () => {
|
||||
app.isQuiting = true
|
||||
app.relaunch()
|
||||
app.quit()
|
||||
})
|
||||
|
@ -47,7 +47,6 @@ export default {
|
||||
this.$store.device.setRemark(this.device.id, value)
|
||||
},
|
||||
async handleFocus() {
|
||||
console.log('handleFocus')
|
||||
this.$refs.elInput.focus()
|
||||
},
|
||||
},
|
||||
|
@ -328,8 +328,6 @@ export default {
|
||||
if (error.message) {
|
||||
this.$message.warning(error.message)
|
||||
}
|
||||
|
||||
this.handleReset()
|
||||
}
|
||||
row.$recordLoading = false
|
||||
},
|
||||
|
@ -41,16 +41,16 @@
|
||||
</el-select>
|
||||
</div>
|
||||
<div class="">
|
||||
<el-button type="" plain @click="handleImport">
|
||||
<el-button type="" icon="Upload" plain @click="handleImport">
|
||||
{{ $t("preferences.config.import.name") }}
|
||||
</el-button>
|
||||
<el-button type="" plain @click="handleExport">
|
||||
<el-button type="" icon="Download" plain @click="handleExport">
|
||||
{{ $t("preferences.config.export.name") }}
|
||||
</el-button>
|
||||
<el-button type="" plain @click="handleEdit">
|
||||
<el-button type="" icon="Edit" plain @click="handleEdit">
|
||||
{{ $t("preferences.config.edit.name") }}
|
||||
</el-button>
|
||||
<el-button type="" plain @click="handleResetAll">
|
||||
<el-button type="" icon="RefreshRight" plain @click="handleResetAll">
|
||||
{{ $t("preferences.config.reset.name") }}
|
||||
</el-button>
|
||||
</div>
|
||||
|
@ -1,8 +1,8 @@
|
||||
import { createI18n } from 'vue-i18n'
|
||||
import messages from '@intlify/unplugin-vue-i18n/messages'
|
||||
|
||||
// const locale = window.electron?.process?.env?.LOCALE
|
||||
const locale = 'en_US'
|
||||
const locale = window.electron?.process?.env?.LOCALE
|
||||
// const locale = 'en_US'
|
||||
|
||||
// console.log('locale', locale)
|
||||
|
||||
|
@ -103,21 +103,21 @@
|
||||
},
|
||||
"config": {
|
||||
"import": {
|
||||
"name": "导入配置",
|
||||
"name": "导入",
|
||||
"placeholder": "请选择要导入的配置文件",
|
||||
"success": "导入成功"
|
||||
},
|
||||
"export": {
|
||||
"name": "导出配置",
|
||||
"name": "导出",
|
||||
"message": "导出配置",
|
||||
"placeholder": "请选择要导出的位置",
|
||||
"success": "导出成功"
|
||||
},
|
||||
"edit": {
|
||||
"name": "编辑配置"
|
||||
"name": "编辑"
|
||||
},
|
||||
"reset": {
|
||||
"name": "重置配置"
|
||||
"name": "重置"
|
||||
},
|
||||
"save": {
|
||||
"name": "保存配置",
|
||||
|
Loading…
Reference in New Issue
Block a user