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

@@ -1,9 +1,9 @@
<script setup>
import { reactive, watch } from 'vue'
import useDialog from '../../stores/dialog'
import useDialog from 'stores/dialog'
import { useMessage } from 'naive-ui'
import { useI18n } from 'vue-i18n'
import useConnectionStore from '../../stores/connections.js'
import useConnectionStore from 'stores/connections.js'
const renameForm = reactive({
server: '',
@@ -24,7 +24,7 @@ watch(
renameForm.key = key
renameForm.newKey = key
}
}
},
)
const i18n = useI18n()