enhanced UI

This commit is contained in:
Saifeddine ALOUI 2023-10-20 17:50:08 +02:00
parent 7aa3cc90b4
commit bda3702eb4
6 changed files with 187 additions and 278 deletions

File diff suppressed because one or more lines are too long

177
web/dist/assets/index-b688a8d5.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

4
web/dist/index.html vendored
View File

@ -6,8 +6,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LoLLMS WebUI - Welcome</title>
<script type="module" crossorigin src="/assets/index-4d74039d.js"></script>
<link rel="stylesheet" href="/assets/index-b6985df1.css">
<script type="module" crossorigin src="/assets/index-b688a8d5.js"></script>
<link rel="stylesheet" href="/assets/index-bfa52e2e.css">
</head>
<body>
<div id="app"></div>

View File

@ -43,12 +43,14 @@ export default {
required: true,
},
discussion_id: {
type: String,
required: true,
type: [String, Number],
default: "0",
required: false,
},
message_id: {
type: String,
required: true,
value: "0",
type: [String, Number],
required: false,
},
},
components: {

View File

@ -144,7 +144,7 @@
</div>
</div>
<MarkdownRenderer ref="mdRender" v-if="!editMsgMode" :markdown-text="message.content">
<MarkdownRenderer ref="mdRender" v-if="!editMsgMode" :markdown-text="message.content" :message_id="message.id">
</MarkdownRenderer>
<div >
<textarea v-if="editMsgMode" ref="mdTextarea" @keydown.tab.prevent="insertTab"