arg.js
arg.js copied to clipboard
bug: when set one attr, another attr's value is wrong
this is the test code:
var url = 'https://baidu.com/admins/cert/get_list?type=no&my_search_key7=exam_year_season&my_search_value7=2020-1&my_search_key9=t.id_card&my_search_value9=310107201005193424&my_search_like9=_%25'
var obj = {my_search_key7: "exam_year_season", my_search_value7: "2021-5", my_search_like7: ""}
Arg.url(url, obj);
// it return: https://baidu.com/admins/cert/get_list?type=no&my_search_key7=exam_year_season&my_search_value7=2021-5&my_search_key9=t.id_card&my_search_value9=310107201005193400&my_search_like9=_%25
here, this attr [my_search_key9] is not setting, but it change to 310107201005193400 (origin is 310107201005193424)
hop it'll be fixed! thx!