File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 116
116
"params" : {}
117
117
},
118
118
{
119
- "path" : " http://kymjs.com /therouter/test_fragment2" ,
119
+ "path" : " /therouter/test_fragment2" ,
120
120
"className" : " com.therouter.app.navigator.NavigatorFragment2" ,
121
121
"action" : " " ,
122
122
"description" : " Fragment测试页" ,
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ object KotlinPathIndex {
5
5
const val HOME2 = " http://kymjs.com/therouter/home2"
6
6
const val FRAGMENT_HOST = " http://kymjs.com/therouter/fragment_host_activity"
7
7
const val FRAGMENT_TEST = " http://kymjs.com/therouter/test_fragment"
8
- const val FRAGMENT_TEST2 = " http://kymjs.com /therouter/test_fragment2"
8
+ const val FRAGMENT_TEST2 = " /therouter/test_fragment2"
9
9
const val VIEW_BINDING_FRAGMENT_TEST = " http://kymjs.com/therouter/viewbinding_fragment"
10
10
}
11
11
}
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import android.view.View
5
5
import android.widget.TextView
6
6
import com.therouter.app.KotlinPathIndex.Test.FRAGMENT_TEST2
7
7
import com.therouter.app.R
8
+ import com.therouter.require
8
9
import com.therouter.router.Autowired
9
10
import com.therouter.router.Route
10
11
@@ -18,5 +19,10 @@ class NavigatorFragment2 : NavigatorFragment() {
18
19
super .onViewCreated(view, savedInstanceState)
19
20
val textView: TextView = view.findViewById<TextView >(R .id.textview12)
20
21
textView.text = " 子类 @Autowired 数据:$stringChildClassField "
22
+ require(
23
+ " 数据在子类解析" == stringChildClassField,
24
+ " NavigatorFragment2" ,
25
+ " stringChildClassField数值不对"
26
+ )
21
27
}
22
28
}
You can’t perform that action at this time.
0 commit comments