Commit 67a75831 by 严久程

flutter路由地址修改

parent 3ca211b8
ext { ext {
kotlin_version = "1.3.21" kotlin_version = "1.3.21"
dev_mode = false dev_mode = true
ydl_app = [ ydl_app = [
appName : "心理咨询壹点灵", appName : "心理咨询壹点灵",
...@@ -44,9 +44,9 @@ ext { ...@@ -44,9 +44,9 @@ ext {
//第三步 若干 //第三步 若干
"m-confide" : "0.0.22", "m-confide" : "0.0.22",
"m-consultant" : "0.0.39", "m-consultant" : "0.0.39",
"m-course" : "0.0.25", "m-course" : "0.0.26",
"m-fm" : "0.0.17", "m-fm" : "0.0.17",
"m-muse" : "0.0.14", "m-muse" : "0.0.15",
"m-tests" : "0.0.11", "m-tests" : "0.0.11",
"m-user" : "0.0.32", "m-user" : "0.0.32",
...@@ -245,7 +245,7 @@ ext { ...@@ -245,7 +245,7 @@ ext {
"ydl-utils" : "com.ydl:ydl-utils:${ydlCompileVersion["ydl-utils"]}", "ydl-utils" : "com.ydl:ydl-utils:${ydlCompileVersion["ydl-utils"]}",
//flutter功能组件升级===>发布ydl-flutter组件===>引用flutter相关的业务模块 //flutter功能组件升级===>发布ydl-flutter组件===>引用flutter相关的业务模块
"ydl-flutter" : "com.ydl:ydl-flutter:0.0.14@aar", "ydl-flutter" : "com.ydl:ydl-flutter:0.0.15@aar",
//基础组件 <<--- 先发这个,发完改这里的版本号 //基础组件 <<--- 先发这个,发完改这里的版本号
"ydl-platform" : "com.ydl:ydl-platform:${ydlCompileVersion["ydl-platform"]}@aar", "ydl-platform" : "com.ydl:ydl-platform:${ydlCompileVersion["ydl-platform"]}@aar",
......
...@@ -51,7 +51,7 @@ class FlutterCourseHomeFragment : BaseFlutterFragment() { ...@@ -51,7 +51,7 @@ class FlutterCourseHomeFragment : BaseFlutterFragment() {
} }
override fun initialRoute(): String { override fun initialRoute(): String {
return "native/course/home" return "course/home"
} }
override fun setUserVisibleHint(isVisibleToUser: Boolean) { override fun setUserVisibleHint(isVisibleToUser: Boolean) {
......
...@@ -15,7 +15,7 @@ import org.json.JSONObject ...@@ -15,7 +15,7 @@ import org.json.JSONObject
@Route(path = "/module/muse") @Route(path = "/module/muse")
class MuseActivity : BaseFlutterActivity() { class MuseActivity : BaseFlutterActivity() {
override fun initialRoute(): String { override fun initialRoute(): String {
return "native/muse/home" return "muse/home"
} }
override fun initChannelPlugin(jsonObject: JSONObject) { override fun initChannelPlugin(jsonObject: JSONObject) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment