Fix indent
This commit is contained in:
parent
a4f95d730b
commit
7e5901a2cf
|
@ -35,27 +35,15 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ref, h, computed, reactive, watchEffect } from 'vue'
|
import { ref, computed } from 'vue'
|
||||||
import type { UnwrapRef } from 'vue'
|
|
||||||
import { useDocumentStore } from '@/stores/documents'
|
import { useDocumentStore } from '@/stores/documents'
|
||||||
import Router from '@/router/index';
|
import Router from '@/router/index';
|
||||||
import { message } from 'ant-design-vue';
|
|
||||||
import type { Document, FolderDocument } from '@/repositories/Document';
|
import type { Document, FolderDocument } from '@/repositories/Document';
|
||||||
import FileCarousel from './FileCarousel.vue';
|
import FileCarousel from './FileCarousel.vue';
|
||||||
import FileRenameInput from './FileRenameInput.vue'
|
import FileRenameInput from './FileRenameInput.vue'
|
||||||
import createWebSocket from '@/repositories/WS';
|
import createWebSocket from '@/repositories/WS';
|
||||||
|
|
||||||
const [messageApi, contextHolder] = message.useMessage();
|
|
||||||
|
|
||||||
type Key = string | number;
|
|
||||||
const documentStore = useDocumentStore()
|
const documentStore = useDocumentStore()
|
||||||
const editableData: UnwrapRef<Record<string, Document>> = reactive({});
|
|
||||||
const state = reactive<{
|
|
||||||
selectedRowKeys: Key[];
|
|
||||||
}>({
|
|
||||||
selectedRowKeys: [],
|
|
||||||
});
|
|
||||||
|
|
||||||
const linkBasePath = computed(()=>{
|
const linkBasePath = computed(()=>{
|
||||||
const path = Router.currentRoute.value.path
|
const path = Router.currentRoute.value.path
|
||||||
return path === '/' ? '' : path
|
return path === '/' ? '' : path
|
||||||
|
|
Loading…
Reference in New Issue
Block a user