1.优化订单开票按钮显示 2.退出登录新增退出团购

This commit is contained in:
gyq
2024-07-24 14:22:14 +08:00
parent 9e57753323
commit 2c58c99d1e
4 changed files with 227 additions and 3 deletions

View File

@@ -137,6 +137,7 @@ import { ipcRenderer } from "electron";
import { ref, onMounted } from 'vue'
import { useRoute } from 'vue-router'
import { ElMessage, dayjs } from 'element-plus'
import { tglogout } from '@/api/group.js'
import { shopInfoqueryDuty, loginlogout, handoverData, handoverprint } from '@/api/work/index.js'
import useStorage from '@/utils/useStorage'
import { useRouter } from "vue-router";
@@ -244,6 +245,8 @@ const exit = async () => {
console.log('云打印');
loading.value = true;
await tglogout()
// 退出登录
await loginlogout({
status: 1