mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-14 21:02:49 +00:00
no message
This commit is contained in:
parent
22993283f0
commit
d828ed83a5
@ -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) {
|
||||
/**
|
||||
* 网页访问
|
||||
|
||||
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user