Update component import paths and remove unused import

This commit is contained in:
aixianling
2024-10-31 15:35:41 +08:00
parent 11712c0419
commit 37c4ff83cb
2 changed files with 1 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ const init = require("./build")
const json = { const json = {
easycom: { easycom: {
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue", "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue",
"^(Ai|V)(.*)": "components/$1$2.vue", "^(Ai|V)(.*)": "@/components/$1$2.vue",
}, },
pages: [ pages: [
{path: 'pages/loading', style: {navigationBarTitleText: "欢迎使用"}}, {path: 'pages/loading', style: {navigationBarTitleText: "欢迎使用"}},

View File

@@ -1,7 +1,6 @@
import dict from "./dict" import dict from "./dict"
import dayjs from './monent' import dayjs from './monent'
import qs from 'query-string' import qs from 'query-string'
import reg from "./regular";
import tree from "./tree"; import tree from "./tree";
const confirm = (content, title, config) => { const confirm = (content, title, config) => {
@@ -309,7 +308,6 @@ export default {
qs, qs,
permissions, permissions,
copy, copy,
reg,
arr2tree(list, config = {}) { arr2tree(list, config = {}) {
const {key = 'id', parent = 'parentId', children = 'children'} = config const {key = 'id', parent = 'parentId', children = 'children'} = config
const result = [] const result = []