mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-15 13:22: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;
|
$fd = $request->fd;
|
||||||
$get = Base::newTrim($request->get);
|
$get = Base::newTrim($request->get);
|
||||||
$action = $get['action'];
|
$action = $get['action'];
|
||||||
|
Cache::forget("User::encrypt:" . $fd);
|
||||||
switch ($action) {
|
switch ($action) {
|
||||||
/**
|
/**
|
||||||
* 网页访问
|
* 网页访问
|
||||||
|
|||||||
@ -62,9 +62,10 @@
|
|||||||
methods: {
|
methods: {
|
||||||
handleTooltipIn () {
|
handleTooltipIn () {
|
||||||
const $content = this.$refs.content;
|
const $content = this.$refs.content;
|
||||||
|
if (!$content) return;
|
||||||
let range = document.createRange();
|
let range = document.createRange();
|
||||||
range.setStart($content, 0);
|
range.setStart($content, 0);
|
||||||
range.setEnd($content, $content.childNodes?.length || 0);
|
range.setEnd($content, $content.childNodes.length || 0);
|
||||||
const rangeWidth = range.getBoundingClientRect().width;
|
const rangeWidth = range.getBoundingClientRect().width;
|
||||||
this.showTooltip = Math.floor(rangeWidth) > Math.floor($content.offsetWidth);
|
this.showTooltip = Math.floor(rangeWidth) > Math.floor($content.offsetWidth);
|
||||||
if (this.showTooltip && this.existSlot) {
|
if (this.showTooltip && this.existSlot) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user