我注意到,当我将一个数组参数传递给$ location.search()时,它的编码方式如下例所示
$ location.path('/ somePath').search('ids [] =',[1,2,3]);
变
/ somePath?DS%5B%5D = 1&DS%5B%5D = 2&DS%5B%5D = 3
有没有办法避免网址编码?
angularjs
angularjs ×1