no message

This commit is contained in:
kuaifan 2023-04-01 13:03:16 +08:00
parent 22993283f0
commit d828ed83a5
2 changed files with 3 additions and 1 deletions

View File

@ -43,6 +43,7 @@ class WebSocketService implements WebSocketHandlerInterface
$fd = $request->fd;
$get = Base::newTrim($request->get);
$action = $get['action'];
Cache::forget("User::encrypt:" . $fd);
switch ($action) {
/**
* 网页访问

View File

@ -62,9 +62,10 @@
methods: {
handleTooltipIn () {
const $content = this.$refs.content;
if (!$content) return;
let range = document.createRange();
range.setStart($content, 0);
range.setEnd($content, $content.childNodes?.length || 0);
range.setEnd($content, $content.childNodes.length || 0);
const rangeWidth = range.getBoundingClientRect().width;
this.showTooltip = Math.floor(rangeWidth) > Math.floor($content.offsetWidth);
if (this.showTooltip && this.existSlot) {