mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-15 09:48:14 +08:00
🐛 修复 Qdana 报错
This commit is contained in:
@@ -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,
|
||||||
() => {
|
() => {
|
||||||
|
|||||||
1
src/plugins/Mys/types/Base.d.ts
vendored
1
src/plugins/Mys/types/Base.d.ts
vendored
@@ -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 {
|
||||||
|
|||||||
1
src/plugins/Mys/types/Gacha.d.ts
vendored
1
src/plugins/Mys/types/Gacha.d.ts
vendored
@@ -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 {
|
||||||
|
|||||||
1
src/plugins/Mys/types/Lottery.d.ts
vendored
1
src/plugins/Mys/types/Lottery.d.ts
vendored
@@ -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 {
|
||||||
|
|||||||
1
src/plugins/Mys/types/News.d.ts
vendored
1
src/plugins/Mys/types/News.d.ts
vendored
@@ -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 {
|
||||||
|
|||||||
1
src/plugins/Mys/types/Obc.d.ts
vendored
1
src/plugins/Mys/types/Obc.d.ts
vendored
@@ -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 {
|
||||||
|
|||||||
1
src/plugins/Mys/types/Position.d.ts
vendored
1
src/plugins/Mys/types/Position.d.ts
vendored
@@ -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 {
|
||||||
|
|||||||
7
src/plugins/Mys/types/Post.d.ts
vendored
7
src/plugins/Mys/types/Post.d.ts
vendored
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
5
src/plugins/Mys/types/User.d.ts
vendored
5
src/plugins/Mys/types/User.d.ts
vendored
@@ -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 {
|
||||||
|
|||||||
2
src/types/Sqlite/Character.d.ts
vendored
2
src/types/Sqlite/Character.d.ts
vendored
@@ -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 - 角色名称
|
||||||
|
|||||||
Reference in New Issue
Block a user