更新
This commit is contained in:
@@ -327,8 +327,7 @@ import { mapGetters } from 'vuex'
|
||||
const { app, dialog } = require('@electron/remote')
|
||||
import UserInfo from '@/components/userInfo/userInfo.vue'
|
||||
import WorkAdd from '@/components/workAdd/workAdd.vue'
|
||||
const exePath = path.dirname(process.execPath)
|
||||
// const exePath = process.cwd();
|
||||
const exePath = !app.isPackaged ? process.cwd() : path.dirname(process.execPath)
|
||||
const shPath = path.join(exePath, 'CardsoonServer', 'control.sh')
|
||||
export default {
|
||||
name: 'dashboard',
|
||||
@@ -422,7 +421,6 @@ export default {
|
||||
watch: {
|
||||
'$store.state.user.oneLogin': {
|
||||
handler(val) {
|
||||
console.log(val, 'oneLoginoneLoginoneLogin')
|
||||
if (val) {
|
||||
this.$store.dispatch('setDatas', { name: 'oneLogin', data: false })
|
||||
this.startService()
|
||||
@@ -512,7 +510,6 @@ export default {
|
||||
},
|
||||
'$store.state.chat.isConnect': {
|
||||
handler(val) {
|
||||
console.log(val, 'isConnect')
|
||||
if (val) {
|
||||
this.$message({
|
||||
message: '服务已连接',
|
||||
|
||||
Reference in New Issue
Block a user