TAGES:tabBar組件 1 個(gè)結(jié)果已找到,1-1
1、在template.js按照對(duì)應(yīng)的key配置對(duì)應(yīng)數(shù)據(jù),其中current表示是否選擇當(dāng)前的tab,直接配置為0即可2、在對(duì)應(yīng)的js引用template文件夾中的templalte.js------>vartemplate=require('../../template/template.js');3、然[ 查看詳細(xì) ]