mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-12 09:18:14 +08:00
💄 处理特定情况下的内容溢出,调整Sql创建
This commit is contained in:
@@ -75,6 +75,8 @@ function getTextStyle(): StyleValue {
|
||||
const style = <Array<StyleValue>>[];
|
||||
const data: TpText = props.data;
|
||||
style.push("white-space: pre-wrap");
|
||||
style.push("line-break: anywhere");
|
||||
style.push("word-break: break-all");
|
||||
if (data.attributes) {
|
||||
const ruleBold: StyleValue = "fontFamily: var(--font-title)";
|
||||
const ruleItalic: StyleValue = "fontStyle: italic";
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
-- @file plugins/Sqlite/sql/createTable.sql
|
||||
-- @brief sqlite数据库创建表语句
|
||||
-- @since Beta v0.6.0
|
||||
-- @since Beta v0.6.1
|
||||
|
||||
-- @brief 重新创建成就数据表
|
||||
drop table if exists Achievements;
|
||||
-- @brief 创建成就数据表
|
||||
create table if not exists Achievements
|
||||
(
|
||||
@@ -16,12 +14,6 @@ create table if not exists Achievements
|
||||
primary key (id, uid)
|
||||
);
|
||||
|
||||
-- @brief 移除成就系列数据表
|
||||
drop table if exists AchievementSeries;
|
||||
|
||||
-- @brief 移除角色数据表
|
||||
drop table if exists AppCharacters;
|
||||
|
||||
-- @brief 创建应用数据表
|
||||
create table if not exists AppData
|
||||
(
|
||||
@@ -39,9 +31,6 @@ create table if not exists UserAccount
|
||||
updated text
|
||||
);
|
||||
|
||||
-- @brief 重新创建账号数据表
|
||||
drop table if exists GameAccount;
|
||||
|
||||
-- @brief 创建游戏账号数据表
|
||||
create table if not exists GameAccount
|
||||
(
|
||||
@@ -58,9 +47,6 @@ create table if not exists GameAccount
|
||||
primary key (uid, gameUid)
|
||||
);
|
||||
|
||||
-- @brief 移除名片表
|
||||
drop table if exists NameCard;
|
||||
|
||||
-- @brief 创建深渊数据表
|
||||
create table if not exists SpiralAbyss
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user