1.交班新增选择是否打印商品销售数据
This commit is contained in:
@@ -72,6 +72,8 @@ import useStorage from "@/utils/useStorage";
|
||||
import { douyincheckIn } from "@/api/group";
|
||||
import { useUser } from "@/store/user.js";
|
||||
import { useSocket } from "@/store/socket.js";
|
||||
import { useGlobal } from '@/store/global.js'
|
||||
const global = useGlobal()
|
||||
|
||||
const store = useUser();
|
||||
const socket = useSocket();
|
||||
@@ -134,6 +136,7 @@ const submitHandle = () => {
|
||||
clientType: 'pc'
|
||||
})
|
||||
useStorage.set('douyin', douyin.userInfo)
|
||||
global.updateData(true)
|
||||
})
|
||||
.catch((err) => {
|
||||
loading.value = false;
|
||||
@@ -151,7 +154,7 @@ const logout = () => {
|
||||
};
|
||||
|
||||
onMounted(() => {
|
||||
passwordType.icon = Hide
|
||||
global.updateData(false)
|
||||
})
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user