File tree Expand file tree Collapse file tree
Android/LuaViewSDK/src/com/taobao/luaview/global Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -412,6 +412,12 @@ public String getUri() {
412412 return mLuaViewCore != null ? mLuaViewCore .getUri () : null ;
413413 }
414414
415+ public void setUri (String uri ) {
416+ if (mLuaViewCore != null ) {
417+ mLuaViewCore .setUri (uri );
418+ }
419+ }
420+
415421 public Globals getGlobals () {
416422 return mLuaViewCore != null ? mLuaViewCore .getGlobals () : null ;
417423 }
Original file line number Diff line number Diff line change @@ -510,6 +510,12 @@ public String getUri() {
510510 return null ;
511511 }
512512
513+ public void setUri (String uri ) {
514+ if (mGlobals != null && mGlobals .getLuaResourceFinder () != null ) {
515+ mGlobals .getLuaResourceFinder ().setUri (uri );
516+ }
517+ }
518+
513519 public Globals getGlobals () {
514520 return mGlobals ;
515521 }
You can’t perform that action at this time.
0 commit comments