fix: 禁用VWindow触摸滑动,修复表格内滑动触发tab切换问题,升版本1.0.7

This commit is contained in:
jxxghp
2026-05-25 15:44:09 +08:00
parent 944867f96e
commit 08faed6ff0
10 changed files with 20 additions and 18 deletions

View File

@@ -1048,13 +1048,14 @@
"name": "Agent Tokens 管理",
"description": "管理多平台免费 Token 配额,按优先级自动切换 Agent LLM 供应商。",
"labels": "Agent,AI,系统",
"version": "1.0.6",
"version": "1.0.7",
"icon": "agentresourceofficer.png",
"author": "jxxghp",
"level": 1,
"system_version": ">=2.13.0",
"release": true,
"history": {
"v1.0.7": "禁用VWindow触摸滑动修复表格内滑动触发tab切换问题",
"v1.0.6": "优化标题样式并对齐站点管理页面风格,修复弹窗标题截断问题",
"v1.0.5": "优化UI布局修复页面标题和按钮滚动问题",
"v1.0.4": "补充分配模型信息及更新用量的运行日志",

View File

@@ -24,7 +24,7 @@ class AgentTokens(_PluginBase):
plugin_name = "Agent Tokens 管理"
plugin_desc = "管理多平台免费 Token 配额,按优先级自动切换 Agent LLM 供应商。"
plugin_icon = "agentresourceofficer.png"
plugin_version = "1.0.6"
plugin_version = "1.0.7"
plugin_author = "jxxghp"
author_url = "https://github.com/jxxghp"
plugin_config_prefix = "agenttokens_"

View File

@@ -1,11 +1,11 @@
.gap-2[data-v-f70e1bcb] {
.gap-2[data-v-ff97075d] {
gap: 8px;
}
.progress-cell[data-v-f70e1bcb] {
.progress-cell[data-v-ff97075d] {
min-width: 140px;
}
.truncate-cell[data-v-f70e1bcb] {
.truncate-cell[data-v-ff97075d] {
max-width: 280px;
overflow: hidden;
text-overflow: ellipsis;

View File

@@ -409,7 +409,8 @@ return (_ctx, _cache) => {
}, 8, ["modelValue"]),
_createVNode(_component_VWindow, {
modelValue: activeTab.value,
"onUpdate:modelValue": _cache[3] || (_cache[3] = $event => ((activeTab).value = $event))
"onUpdate:modelValue": _cache[3] || (_cache[3] = $event => ((activeTab).value = $event)),
touch: false
}, {
default: _withCtx(() => [
_createVNode(_component_VWindowItem, { value: "usage" }, {
@@ -770,6 +771,6 @@ return (_ctx, _cache) => {
}
};
const AppPage = /*#__PURE__*/_export_sfc(_sfc_main, [['__scopeId',"data-v-f70e1bcb"]]);
const AppPage = /*#__PURE__*/_export_sfc(_sfc_main, [['__scopeId',"data-v-ff97075d"]]);
export { AppPage as default };

View File

@@ -1,5 +1,5 @@
import { importShared } from './__federation_fn_import-JrT3xvdd.js';
import AppPage from './__federation_expose_AppPage-B7K0b9vH.js';
import AppPage from './__federation_expose_AppPage-DgQuvLJ5.js';
import { _ as _export_sfc } from './_plugin-vue_export-helper-pcqpp-6-.js';
const {createElementVNode:_createElementVNode,resolveComponent:_resolveComponent,createVNode:_createVNode,withCtx:_withCtx,openBlock:_openBlock,createElementBlock:_createElementBlock} = await importShared('vue');

View File

@@ -1,5 +1,5 @@
import { importShared } from './__federation_fn_import-JrT3xvdd.js';
import AppPage from './__federation_expose_AppPage-B7K0b9vH.js';
import AppPage from './__federation_expose_AppPage-DgQuvLJ5.js';
true&&(function polyfill() {
const relList = document.createElement("link").relList;

View File

@@ -2,8 +2,8 @@ const currentImports = {};
const exportSet = new Set(['Module', '__esModule', 'default', '_export_sfc']);
let moduleMap = {
"./Page":()=>{
dynamicLoadingCss(["__federation_expose_Page-vwwFlnk-.css","__federation_expose_AppPage-oQOrnVay.css"], false, './Page');
return __federation_import('./assets/__federation_expose_Page-P8w_qF-9.js').then(module =>Object.keys(module).every(item => exportSet.has(item)) ? () => module.default : () => module)},
dynamicLoadingCss(["__federation_expose_Page-vwwFlnk-.css","__federation_expose_AppPage-CkqsO_0n.css"], false, './Page');
return __federation_import('./assets/__federation_expose_Page-HzVcafPU.js').then(module =>Object.keys(module).every(item => exportSet.has(item)) ? () => module.default : () => module)},
"./Config":()=>{
dynamicLoadingCss(["__federation_expose_Config-C5yY6NwA.css"], false, './Config');
return __federation_import('./assets/__federation_expose_Config-C7PQoNCG.js').then(module =>Object.keys(module).every(item => exportSet.has(item)) ? () => module.default : () => module)},
@@ -11,8 +11,8 @@ const currentImports = {};
dynamicLoadingCss([], false, './Dashboard');
return __federation_import('./assets/__federation_expose_Dashboard-BPSul9jL.js').then(module =>Object.keys(module).every(item => exportSet.has(item)) ? () => module.default : () => module)},
"./AppPage":()=>{
dynamicLoadingCss(["__federation_expose_AppPage-oQOrnVay.css"], false, './AppPage');
return __federation_import('./assets/__federation_expose_AppPage-B7K0b9vH.js').then(module =>Object.keys(module).every(item => exportSet.has(item)) ? () => module.default : () => module)},};
dynamicLoadingCss(["__federation_expose_AppPage-CkqsO_0n.css"], false, './AppPage');
return __federation_import('./assets/__federation_expose_AppPage-DgQuvLJ5.js').then(module =>Object.keys(module).every(item => exportSet.has(item)) ? () => module.default : () => module)},};
const seen = {};
const dynamicLoadingCss = (cssFilePaths, dontAppendStylesToHead, exposeItemName) => {
const metaUrl = import.meta.url;

View File

@@ -1,6 +1,6 @@
<script type="module" crossorigin src="./assets/index-C9EvEaTb.js"></script>
<script type="module" crossorigin src="./assets/index-j_-8amFM.js"></script>
<link rel="modulepreload" crossorigin href="./assets/__federation_fn_import-JrT3xvdd.js">
<link rel="modulepreload" crossorigin href="./assets/_plugin-vue_export-helper-pcqpp-6-.js">
<link rel="modulepreload" crossorigin href="./assets/__federation_expose_AppPage-B7K0b9vH.js">
<link rel="stylesheet" crossorigin href="./assets/__federation_expose_AppPage-oQOrnVay.css">
<link rel="modulepreload" crossorigin href="./assets/__federation_expose_AppPage-DgQuvLJ5.js">
<link rel="stylesheet" crossorigin href="./assets/__federation_expose_AppPage-CkqsO_0n.css">
<div id="app"></div>

View File

@@ -1,7 +1,7 @@
{
"name": "moviepilot-agenttokens-plugin",
"private": true,
"version": "1.0.6",
"version": "1.0.7",
"type": "module",
"scripts": {
"build": "vite build"

View File

@@ -243,7 +243,7 @@ onMounted(loadStatus)
<VTab value="config">配置</VTab>
</VTabs>
<VWindow v-model="activeTab">
<VWindow v-model="activeTab" :touch="false">
<VWindowItem value="usage">
<VSheet border rounded>
<VTable density="comfortable">