{"errcode":40054,"errmsg":"invalid sub button url domain hint: [WWA480339vr20]的解决办法

ViewButton button21 = new ViewButton();
button21.setName("view菜单1");
button21.setType("view");
button21.setUrl("www.imooc.com"); //是由于没有加上http协议,所以只要加上就可以了改成:button21.setUrl("http://www.imooc.com"); 



ViewButton button22 = new ViewButton();
button22.setName("view菜单二");
button22.setType("view");
button22.setUrl("http://www.baidu.com");

你可能感兴趣的:({"errcode":40054,"errmsg":"invalid sub button url domain hint: [WWA480339vr20]的解决办法)