fix: 路径错误

This commit is contained in:
2023-07-13 12:52:49 +08:00
parent 3e127d7a83
commit 2dc8b9bc5d
2 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ module.exports.resolverThzxcx = function (name) {
return {
name: 'default',
as: name,
from: `@thzxcx/uni/packages/${componentName}/index.vue`,
from: `@thzxcx/uni/packages/th${componentName}/index.vue`,
}
}
}

View File

@ -2,7 +2,7 @@
* @Author: zhaojinfeng 121016171@qq.com
* @Date: 2023-06-25 10:56:32
* @LastEditors: zhaojinfeng 121016171@qq.com
* @LastEditTime: 2023-07-13 11:51:03
* @LastEditTime: 2023-07-13 12:52:10
* @FilePath: \uni\utils\resolver.mjs
* @Description: 自动导入组件的解析器
*
@ -26,7 +26,7 @@ export function resolverThzxcx(name) {
return {
name: 'default',
as: name,
from: `@thzxcx/uni/es/${componentName}/index.vue`,
from: `@thzxcx/uni/packages/th${componentName}/index.vue`,
}
}
}