mirror of
https://github.com/tiny-craft/tiny-rdm.git
synced 2025-10-13 02:44:01 +08:00
refactor: use import alias name
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
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, NInputNumber, useMessage } from 'naive-ui'
|
||||
import { types, types as redisTypes } from '../../consts/support_redis_type.js'
|
||||
import EditableTableColumn from '../common/EditableTableColumn.vue'
|
||||
import { isEmpty, replace } from 'lodash'
|
||||
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 { isEmpty } from 'lodash'
|
||||
import useDialogStore from 'stores/dialog.js'
|
||||
import useConnectionStore from 'stores/connections.js'
|
||||
|
||||
const i18n = useI18n()
|
||||
|
||||
@@ -150,7 +150,7 @@ const actionColumn = {
|
||||
props.name,
|
||||
props.db,
|
||||
props.keyPath,
|
||||
row.value
|
||||
row.value,
|
||||
)
|
||||
if (success) {
|
||||
connectionStore.loadKeyValue(props.name, props.db, props.keyPath).then((r) => {})
|
||||
@@ -175,7 +175,7 @@ const actionColumn = {
|
||||
props.keyPath,
|
||||
row.value,
|
||||
newValue,
|
||||
currentEditRow.value.score
|
||||
currentEditRow.value.score,
|
||||
)
|
||||
if (success) {
|
||||
connectionStore.loadKeyValue(props.name, props.db, props.keyPath).then((r) => {})
|
||||
|
Reference in New Issue
Block a user