🐛 修复 Qdana 报错

This commit is contained in:
BTMuli
2023-07-29 12:26:00 +08:00
parent 4b407ea56e
commit 36e99ba5d2
10 changed files with 9 additions and 17 deletions

View File

@@ -18,14 +18,14 @@ interface TolProps {
hide?: true; hide?: true;
} }
const showTolo = ref(!props.hide);
const showToli = ref(!props.hide);
const props = withDefaults(defineProps<TolProps>(), { const props = withDefaults(defineProps<TolProps>(), {
modelValue: false, modelValue: false,
blurVal: "20px", blurVal: "20px",
}); });
const showTolo = ref(!props.hide);
const showToli = ref(!props.hide);
watch( watch(
() => props.modelValue, () => props.modelValue,
() => { () => {

View File

@@ -9,7 +9,6 @@
* @description Mys 插件基础类型 * @description Mys 插件基础类型
* @since Alpha v0.2.1 * @since Alpha v0.2.1
* @namespace Base * @namespace Base
* @exports TGApp.plugins.Mys.Base
* @return Base * @return Base
*/ */
declare namespace TGApp.Plugins.Mys.Base { declare namespace TGApp.Plugins.Mys.Base {

View File

@@ -9,7 +9,6 @@
* @description Mys 卡池类型定义 * @description Mys 卡池类型定义
* @since Alpha v0.2.1 * @since Alpha v0.2.1
* @namespace Gacha * @namespace Gacha
* @exports TGAApp.Plugins.Mys.Gacha
* @return Gacha * @return Gacha
*/ */
declare namespace TGApp.Plugins.Mys.Gacha { declare namespace TGApp.Plugins.Mys.Gacha {

View File

@@ -9,7 +9,6 @@
* @description Mys 插件抽奖类型 * @description Mys 插件抽奖类型
* @since Alpha v0.2.1 * @since Alpha v0.2.1
* @namespace Lottery * @namespace Lottery
* @exports TGApp.plugins.Mys.Lottery
* @return Lottery * @return Lottery
*/ */
declare namespace TGApp.Plugins.Mys.Lottery { declare namespace TGApp.Plugins.Mys.Lottery {

View File

@@ -9,7 +9,6 @@
* @description Mys 插件咨讯类型 * @description Mys 插件咨讯类型
* @since Alpha v0.2.1 * @since Alpha v0.2.1
* @namespace News * @namespace News
* @exports TGApp.plugins.Mys.News
* @return News * @return News
*/ */
declare namespace TGApp.Plugins.Mys.News { declare namespace TGApp.Plugins.Mys.News {

View File

@@ -9,7 +9,6 @@
* @description Mys obc 类型 * @description Mys obc 类型
* @since Alpha v0.2.1 * @since Alpha v0.2.1
* @namespace Obc * @namespace Obc
* @exports TGApp.plugins.Mys.Obc
* @return Obc * @return Obc
*/ */
declare namespace TGApp.Plugins.Mys.Obc { declare namespace TGApp.Plugins.Mys.Obc {

View File

@@ -9,7 +9,6 @@
* @description Mys 插件热点追踪类型 * @description Mys 插件热点追踪类型
* @since Alpha v0.2.1 * @since Alpha v0.2.1
* @namespace Position * @namespace Position
* @exports TGApp.plugins.Mys.Position
* @return Position * @return Position
*/ */
declare namespace TGApp.Plugins.Mys.Position { declare namespace TGApp.Plugins.Mys.Position {

View File

@@ -2,14 +2,13 @@
* @file plugins Mys types post.d.ts * @file plugins Mys types post.d.ts
* @description Mys 插件帖子类型定义文件 * @description Mys 插件帖子类型定义文件
* @author BTMuli <bt-muli@outlook.com> * @author BTMuli <bt-muli@outlook.com>
* @since Alpha v0.2.1 * @since Alpha v0.2.2
*/ */
/** /**
* @description Mys 插件帖子类型 * @description Mys 插件帖子类型
* @since Alpha v0.2.1 * @since Alpha v0.2.1
* @namespace Post * @namespace Post
* @exports TGApp.plugins.Mys.Post
* @return Post * @return Post
*/ */
declare namespace TGApp.Plugins.Mys.Post { declare namespace TGApp.Plugins.Mys.Post {
@@ -367,7 +366,7 @@ declare namespace TGApp.Plugins.Mys.Post {
/** /**
* @description 帖子结构化内容-视频 * @description 帖子结构化内容-视频
* @since Alpha v0.2.1 * @since Alpha v0.2.2
* @interface StructuredVod * @interface StructuredVod
* @property {number} id 视频 ID * @property {number} id 视频 ID
* @property {number} duration 时长 * @property {number} duration 时长
@@ -401,7 +400,7 @@ declare namespace TGApp.Plugins.Mys.Post {
label: string; label: string;
}>; }>;
view_num: number; view_num: number;
transcoding_status: number; transcode_status: number;
review_status: number; review_status: number;
} }

View File

@@ -2,14 +2,13 @@
* @file plugins Mys types user.ts * @file plugins Mys types user.ts
* @description Mys 插件用户类型定义文件 * @description Mys 插件用户类型定义文件
* @author BTMuli <bt-muli@outlook.com> * @author BTMuli <bt-muli@outlook.com>
* @since Alpha v0.2.1 * @since Alpha v0.2.2
*/ */
/** /**
* @description Mys 插件用户类型 * @description Mys 插件用户类型
* @since Alpha v0.2.1 * @since Alpha v0.2.2
* @namespace User * @namespace User
* @exports TGApp.plugins.Mys.User
* @return User * @return User
*/ */
declare namespace TGApp.Plugins.Mys.User { declare namespace TGApp.Plugins.Mys.User {

View File

@@ -37,7 +37,7 @@ declare namespace TGApp.Sqlite.Character {
* @description 用户角色列表的角色类型 * @description 用户角色列表的角色类型
* @since Alpha v0.2.1 * @since Alpha v0.2.1
* @interface UserRole * @interface UserRole
* @property {number} uid- 用户 ID * @property {number} uid - 用户 ID
* @property {number} cid - 角色 ID * @property {number} cid - 角色 ID
* @property {string} img - 全身像 * @property {string} img - 全身像
* @property {string} name - 角色名称 * @property {string} name - 角色名称