Procházet zdrojové kódy

fix: 更新 ESLint 配置,移除别名解析;修正用户存储导入路径

EvilDragon před 1 měsícem
rodič
revize
a762e1a4f8

+ 0 - 4
packages/merchant/.eslintrc.cjs

@@ -80,10 +80,6 @@ module.exports = {
     },
     'import/resolver': {
       typescript: {},
-      alias: {
-        map: [['@', './src']],
-        extensions: ['.ts', '.js', '.jsx', '.json', '.vue'],
-      },
     },
   },
   globals: {

+ 1 - 1
packages/merchant/src/pages/mine/agent/invite/index.vue

@@ -8,7 +8,7 @@
 </route>
 <script setup lang="ts">
 import { getBroker } from '../../../../core/libs/requests'
-import { useUserStore } from '@/store/index'
+import { useUserStore } from '../../../../store/index'
 import { Canvas } from '@designer-hub/app/src/core/utils/canvas'
 import { storeToRefs } from 'pinia'