Test frontend #only_compile
This commit is contained in:
@@ -28,9 +28,6 @@
|
||||
})
|
||||
|
||||
watchEffect(() => {
|
||||
console.log('Actual Path')
|
||||
console.log(Router.currentRoute.value.path)
|
||||
console.log(Router.currentRoute)
|
||||
const documentHandler = new DocumentHandler()
|
||||
const documentUploadHandler = new DocumentUploadHandler()
|
||||
const wsWatch = createWebSocket(url_document_watch_ws, documentHandler.handleWebSocketMessage)
|
||||
|
||||
@@ -16,13 +16,13 @@
|
||||
<template #bodyCell="{ column, record }">
|
||||
<template v-if="column.key === 'name'">
|
||||
<div class="editable-cell">
|
||||
<div v-if="editableData[record.key]" class="editable-cell-input-wrapper">
|
||||
<a-input v-model:value="editableData[record.key].name" @pressEnter="save(record.key)" />
|
||||
<CheckOutlined class="editable-cell-icon-check" @click="save(record.key)" />
|
||||
<div v-if="editableData[record.key]" class="action-container editable-cell-input-wrapper">
|
||||
<a-input class="name" v-model:value="editableData[record.key].name" @pressEnter="save(record.key)" />
|
||||
<CheckOutlined class="edit-action editable-cell-icon-check" @click="save(record.key)" />
|
||||
</div>
|
||||
<div v-else class="editable-cell-text-wrapper">
|
||||
<a :href="`#${linkBasePath}/${record.name}`">{{record.name}}</a>
|
||||
<edit-outlined class="editable-cell-icon" @click="edit(record.key)" />
|
||||
<div v-else class="action-container editable-cell-text-wrapper">
|
||||
<a class="name" :href="`#${linkBasePath}/${record.name}`">{{record.name}}</a>
|
||||
<edit-outlined class="edit-action editable-cell-icon" @click="edit(record.key)" />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -162,6 +162,12 @@
|
||||
.action-container{
|
||||
display: flex;
|
||||
}
|
||||
.name{
|
||||
max-width: 70%;
|
||||
}
|
||||
.edit-action{
|
||||
min-width: 10%;
|
||||
}
|
||||
.carousel-container{
|
||||
height: inherit;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user