fix(template): 调整搜索模块的属性定义位置
- 将 defineProps<Props>() 移动到接口定义之后 - 保持代码结构一致性 - 提高模板可读性
This commit is contained in:
Vendored
+1
-1
@@ -15,9 +15,9 @@ interface Props {
|
||||
/** the tree list */
|
||||
treeList?: Api.$ModuleName.${BusinessName}[] | null;
|
||||
}
|
||||
#end
|
||||
|
||||
defineProps<Props>();
|
||||
#end
|
||||
|
||||
interface Emits {
|
||||
(e: 'search'): void;
|
||||
|
||||
Reference in New Issue
Block a user