generated from thzxcx/vue3
refactor: 重命名
This commit is contained in:
8
utils/resolver.d.ts
vendored
8
utils/resolver.d.ts
vendored
@ -2,7 +2,7 @@
|
||||
* @Author: peerless_hero peerless_hero@outlook.com
|
||||
* @Date: 2023-07-13 04:11:13
|
||||
* @LastEditors: zhaojinfeng 121016171@qq.com
|
||||
* @LastEditTime: 2023-07-13 11:17:39
|
||||
* @LastEditTime: 2023-07-13 12:49:28
|
||||
* @FilePath: \uni\utils\resolver.d.ts
|
||||
* @Description:
|
||||
*
|
||||
@ -24,11 +24,11 @@ interface ComponentResolverObject {
|
||||
}
|
||||
type ComponentResolver = ComponentResolverFunction | ComponentResolverObject;
|
||||
|
||||
/** ThUi 自动导入解析器 */
|
||||
/** th-ui 自动导入解析器 */
|
||||
export const resolverThzxcx: ComponentResolver
|
||||
|
||||
/** thorui-uni 自动导入解析器 */
|
||||
export const resolverThoruiUni: ComponentResolver
|
||||
/** thorui 自动导入解析器 */
|
||||
export const resolverThorUi: ComponentResolver
|
||||
|
||||
/** uni-ui 自动导入解析器 */
|
||||
export const resolveruUniUi: ComponentResolver
|
||||
|
@ -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 12:04:43
|
||||
* @FilePath: \uni\utils\resolver.cjs
|
||||
* @LastEditTime: 2023-07-13 12:47:21
|
||||
* @FilePath: \uni\utils\resolver.js
|
||||
* @Description: 自动导入组件的解析器
|
||||
*
|
||||
*/
|
||||
@ -30,7 +30,7 @@ module.exports.resolverThzxcx = function (name) {
|
||||
}
|
||||
}
|
||||
}
|
||||
module.exports.resolverThoruiUni = function (name) {
|
||||
module.exports.resolverThorUi = function (name) {
|
||||
if (name.startsWith('Tui')) {
|
||||
const componentName = toLower(name.slice(3))
|
||||
return {
|
||||
|
@ -31,7 +31,7 @@ export function resolverThzxcx(name) {
|
||||
}
|
||||
}
|
||||
|
||||
export function resolverThoruiUni(name) {
|
||||
export function resolverThorUi(name) {
|
||||
if (name.startsWith('Tui')) {
|
||||
const componentName = toLower(name.slice(3))
|
||||
return {
|
||||
|
Reference in New Issue
Block a user