generated from thzxcx/vue3
fix: 路径错误
This commit is contained in:
@ -26,7 +26,7 @@ module.exports.resolverThzxcx = function (name) {
|
|||||||
return {
|
return {
|
||||||
name: 'default',
|
name: 'default',
|
||||||
as: name,
|
as: name,
|
||||||
from: `@thzxcx/uni/packages/${componentName}/index.vue`,
|
from: `@thzxcx/uni/packages/th${componentName}/index.vue`,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
* @Author: zhaojinfeng 121016171@qq.com
|
* @Author: zhaojinfeng 121016171@qq.com
|
||||||
* @Date: 2023-06-25 10:56:32
|
* @Date: 2023-06-25 10:56:32
|
||||||
* @LastEditors: zhaojinfeng 121016171@qq.com
|
* @LastEditors: zhaojinfeng 121016171@qq.com
|
||||||
* @LastEditTime: 2023-07-13 11:51:03
|
* @LastEditTime: 2023-07-13 12:52:10
|
||||||
* @FilePath: \uni\utils\resolver.mjs
|
* @FilePath: \uni\utils\resolver.mjs
|
||||||
* @Description: 自动导入组件的解析器
|
* @Description: 自动导入组件的解析器
|
||||||
*
|
*
|
||||||
@ -26,7 +26,7 @@ export function resolverThzxcx(name) {
|
|||||||
return {
|
return {
|
||||||
name: 'default',
|
name: 'default',
|
||||||
as: name,
|
as: name,
|
||||||
from: `@thzxcx/uni/es/${componentName}/index.vue`,
|
from: `@thzxcx/uni/packages/th${componentName}/index.vue`,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user