🐛 修复 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;
}
const showTolo = ref(!props.hide);
const showToli = ref(!props.hide);
const props = withDefaults(defineProps<TolProps>(), {
modelValue: false,
blurVal: "20px",
});
const showTolo = ref(!props.hide);
const showToli = ref(!props.hide);
watch(
() => props.modelValue,
() => {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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