refactor: use import alias name

This commit is contained in:
tiny-craft
2023-08-02 17:57:39 +08:00
parent 5750170f5e
commit af289319ed
45 changed files with 236 additions and 227 deletions

View File

@@ -2,12 +2,12 @@
import { computed, h, reactive, ref } from 'vue'
import { useI18n } from 'vue-i18n'
import ContentToolbar from './ContentToolbar.vue'
import AddLink from '../icons/AddLink.vue'
import AddLink from '@/components/icons/AddLink.vue'
import { NButton, NCode, NIcon, NInput, useMessage } from 'naive-ui'
import { types, types as redisTypes } from '../../consts/support_redis_type.js'
import EditableTableColumn from '../common/EditableTableColumn.vue'
import useDialogStore from '../../stores/dialog.js'
import useConnectionStore from '../../stores/connections.js'
import { types, types as redisTypes } from '@/consts/support_redis_type.js'
import EditableTableColumn from '@/components/common/EditableTableColumn.vue'
import useDialogStore from 'stores/dialog.js'
import useConnectionStore from 'stores/connections.js'
const i18n = useI18n()
@@ -120,7 +120,7 @@ const actionColumn = {
props.name,
props.db,
props.keyPath,
row.key
row.key,
)
if (success) {
connectionStore.loadKeyValue(props.name, props.db, props.keyPath).then((r) => {})
@@ -146,7 +146,7 @@ const actionColumn = {
props.keyPath,
row.key,
currentEditRow.value.key,
currentEditRow.value.value
currentEditRow.value.value,
)
if (success) {
connectionStore.loadKeyValue(props.name, props.db, props.keyPath).then((r) => {})