@@ -13,7 +13,7 @@
v-model="printDebug"
type="textarea"
readonly
- rows="29"
+ :rows="29"
placeholder="这里用于输出调试信息"
/>
</template>
@@ -4,7 +4,7 @@
v-model="sourceString"
placeholder="这里输出序列化的JSON数据,可直接导入'阅读'APP"
- rows="30"
+ :rows="30"
@change="update"
style="margin-bottom: 4px"
></el-input>
@@ -5,7 +5,7 @@ export const useBookStore = defineStore("book", {
state: () => {
return {
connectStatus: "正在连接后端服务器……",
- connectType: "",
+ connectType: "primary",
newConnect: true,
/**@type {Array<{respondTime:number}>} */
searchBooks: [],
@@ -20,7 +20,7 @@
<div class="recent-title">最近阅读</div>
<div class="reading-recent">
<el-tag
- :type="readingRecent.name == '尚无阅读记录' ? 'warning' : ''"
+ :type="readingRecent.name == '尚无阅读记录' ? 'warning' : 'primary'"
class="recent-book"
size="large"
@click="