generated from thzxcx/vue3
fix: 名称错误
This commit is contained in:
@ -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 10:55:59
|
* @LastEditTime: 2023-07-13 11:50:15
|
||||||
* @FilePath: \uni\utils\resolver.js
|
* @FilePath: \uni\utils\resolver.js
|
||||||
* @Description: 自动导入组件的解析器
|
* @Description: 自动导入组件的解析器
|
||||||
*
|
*
|
||||||
@ -30,7 +30,7 @@ module.exports.resolverThzxcx = function (name) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
module.exports.resolverThzxcx = function (name) {
|
module.exports.resolverThoruiUni = function (name) {
|
||||||
if (name.startsWith('Tui')) {
|
if (name.startsWith('Tui')) {
|
||||||
const componentName = toLower(name.slice(3))
|
const componentName = toLower(name.slice(3))
|
||||||
return {
|
return {
|
2
utils/resolver.d.ts
vendored
2
utils/resolver.d.ts
vendored
@ -28,7 +28,7 @@ type ComponentResolver = ComponentResolverFunction | ComponentResolverObject;
|
|||||||
export const resolverThzxcx: ComponentResolver
|
export const resolverThzxcx: ComponentResolver
|
||||||
|
|
||||||
/** thorui-uni 自动导入解析器 */
|
/** thorui-uni 自动导入解析器 */
|
||||||
export const resolverTui: ComponentResolver
|
export const resolverThoruiUni: ComponentResolver
|
||||||
|
|
||||||
/** uni-ui 自动导入解析器 */
|
/** uni-ui 自动导入解析器 */
|
||||||
export const resolveruUniUi: ComponentResolver
|
export const resolveruUniUi: ComponentResolver
|
||||||
|
@ -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 10:58:22
|
* @LastEditTime: 2023-07-13 11:51:03
|
||||||
* @FilePath: \uni\utils\resolver.mjs
|
* @FilePath: \uni\utils\resolver.mjs
|
||||||
* @Description: 自动导入组件的解析器
|
* @Description: 自动导入组件的解析器
|
||||||
*
|
*
|
||||||
@ -31,7 +31,7 @@ export function resolverThzxcx(name) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export function resolverTui(name) {
|
export function resolverThoruiUni(name) {
|
||||||
if (name.startsWith('Tui')) {
|
if (name.startsWith('Tui')) {
|
||||||
const componentName = toLower(name.slice(3))
|
const componentName = toLower(name.slice(3))
|
||||||
return {
|
return {
|
||||||
|
Reference in New Issue
Block a user