1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2025-12-06 18:18:53 +08:00
This commit is contained in:
lana-k
2023-10-27 17:14:14 +02:00
parent bec3d9c737
commit b60fc28e47
2 changed files with 57 additions and 2 deletions

View File

@@ -12,7 +12,7 @@
</template>
<div :id="'run-result-result-set-'+tab.id" class="result-set-container"/>
<template #right-pane v-if="viewValuePanelVisible">
<div>hello</div>
<div><value-viewer :cellValue="testCell"/></div>
</template>
</component>
@@ -103,6 +103,7 @@ import time from '@/lib/utils/time'
import loadingDialog from '@/components/LoadingDialog'
import events from '@/lib/utils/events'
import Teleport from 'vue2-teleport'
import ValueViewer from './ValueViewer'
export default {
name: 'RunResult',
@@ -119,7 +120,12 @@ export default {
pageSize: 20,
preparingCopy: false,
dataToCopy: null,
viewValuePanelVisible: false
viewValuePanelVisible: false,
testCell: JSON.stringify(
JSON.parse('{"x": 1, "y": 2, "vector": [1,2,3]}'),
null,
4
)
}
},
components: {
@@ -131,6 +137,7 @@ export default {
IconButton,
ClipboardIcon,
loadingDialog,
ValueViewer,
Splitpanes,
Teleport
},