select2-js修改页面设置选中

//获取select2对象
var fromCityTagSelect2 = KaTeX parse error: Expected 'EOF', got '#' at position 3: ("#̲fromCityTag").s…{fromCityTag}]]).trigger(“change”);
fromCityTagSelect2.change();

你可能感兴趣的:(javascript,前端,开发语言)