|
@@ -56,6 +56,7 @@ import { getChromeStorage, setChromeStorage, httpContentToBack, defineProps } fr
|
|
import { guid } from "@/uilts/help";
|
|
import { guid } from "@/uilts/help";
|
|
import { sendEventInfo } from "@/uilts/event";
|
|
import { sendEventInfo } from "@/uilts/event";
|
|
import { onMounted, reactive, ref } from "vue";
|
|
import { onMounted, reactive, ref } from "vue";
|
|
|
|
+import { $ } from "@/uilts/help";
|
|
let dom_toolbox = ref(null)
|
|
let dom_toolbox = ref(null)
|
|
let dom_iframe = ref(null)
|
|
let dom_iframe = ref(null)
|
|
let state = reactive({
|
|
let state = reactive({
|
|
@@ -124,7 +125,7 @@ onMounted(() => {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
try {
|
|
try {
|
|
- dom.fixed = document.querySelector('#denet-tool-box-fixed')
|
|
|
|
|
|
+ dom.fixed = $('#denet-tool-box-fixed')
|
|
if (dom.fixed && dom.fixed.style.display == 'block') {
|
|
if (dom.fixed && dom.fixed.style.display == 'block') {
|
|
if (dom.fixed.dataset.tweetId == state.tweetId) {
|
|
if (dom.fixed.dataset.tweetId == state.tweetId) {
|
|
state.status = '固定右上角'
|
|
state.status = '固定右上角'
|