fix(template): 调整搜索模块的属性定义位置

- 将 defineProps<Props>() 移动到接口定义之后
- 保持代码结构一致性
- 提高模板可读性
This commit is contained in:
tangzc
2025-12-09 11:18:14 +08:00
parent 41c25dcdd8
commit bb039effc8
+1 -1
View File
@@ -15,9 +15,9 @@ interface Props {
/** the tree list */
treeList?: Api.$ModuleName.${BusinessName}[] | null;
}
#end
defineProps<Props>();
#end
interface Emits {
(e: 'search'): void;