refactor: 文件名后缀

This commit is contained in:
2023-07-13 12:32:03 +08:00
parent f83c1b348e
commit 05a173e0f1

View File

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