why can't get the resource by using $r('app.string.tab_title1'+1)

16 Views Asked by At

my pc's os is windows10,and I found a question while I'm programing,I can't get resource by using $r('app.string.tab.title'+1) while using $r('app.string.tab.title1') is ok.Why?(I'm editing a file whose name ended with .ets)

I think the connection with strings is ok,the reason is about the $r()? where to find its source code

0

There are 0 best solutions below