From 6b34ae612cd1b7aaf91823c17fe1c12cee22f6ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9B=AE=E6=A3=83?= Date: Thu, 10 Oct 2024 09:30:30 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20=E5=A4=84=E7=90=86=E7=89=B9?= =?UTF-8?q?=E5=AE=9A=E6=83=85=E5=86=B5=E4=B8=8B=E7=9A=84=E5=86=85=E5=AE=B9?= =?UTF-8?q?=E6=BA=A2=E5=87=BA=EF=BC=8C=E8=B0=83=E6=95=B4Sql=E5=88=9B?= =?UTF-8?q?=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/post/tp-text.vue | 2 ++ src/plugins/Sqlite/sql/createTable.sql | 16 +--------------- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/src/components/post/tp-text.vue b/src/components/post/tp-text.vue index 871ec431..0ba2de02 100644 --- a/src/components/post/tp-text.vue +++ b/src/components/post/tp-text.vue @@ -75,6 +75,8 @@ function getTextStyle(): StyleValue { const style = >[]; 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"; diff --git a/src/plugins/Sqlite/sql/createTable.sql b/src/plugins/Sqlite/sql/createTable.sql index c99abfad..a8678fd0 100644 --- a/src/plugins/Sqlite/sql/createTable.sql +++ b/src/plugins/Sqlite/sql/createTable.sql @@ -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 (