Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit 7c6fc55

Browse files
committed
该注解应该是可以被继承的
1 parent 01d7e29 commit 7c6fc55

File tree

1 file changed

+2
-0
lines changed
  • src/main/java/org/suren/autotest/web/framework/annotation

1 file changed

+2
-0
lines changed

src/main/java/org/suren/autotest/web/framework/annotation/AutoPage.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
import java.lang.annotation.Documented;
2222
import java.lang.annotation.ElementType;
23+
import java.lang.annotation.Inherited;
2324
import java.lang.annotation.Retention;
2425
import java.lang.annotation.RetentionPolicy;
2526
import java.lang.annotation.Target;
@@ -34,6 +35,7 @@
3435
*/
3536
@Target(ElementType.TYPE)
3637
@Retention(RetentionPolicy.RUNTIME)
38+
@Inherited
3739
@Documented
3840
@Component
3941
public @interface AutoPage

0 commit comments

Comments
 (0)