1、修改文本
require([ ‘dojo/dom‘, ‘dojo/domReady!‘ ], function (dom) { var greeting = dom.byId(‘loginbut‘); greeting.innerHTML =user; });
2、修改标注
button.set("label", "A different label");
时间: 2024-11-05 12:32:49
1、修改文本
require([ ‘dojo/dom‘, ‘dojo/domReady!‘ ], function (dom) { var greeting = dom.byId(‘loginbut‘); greeting.innerHTML =user; });
2、修改标注
button.set("label", "A different label");