When distpicker dynamically acquires provinces, cities and regions, it can not get cities and districts.


1.html




</script>


< hr >

the cities and districts picked up by the front desk are indeed undefined

Apr.22,2022

$.post ("/ shop/member/user/member", {'_ token':' {{csrf_token ()}}', class:'adrOne',id:id}, function (res) {

)
              if(res.code){
                app.AdrList = res.data;
                $('-sharpaddress-form').distpicker('destroy');//
                $("-sharpaddress-form").distpicker({
                  province: app.AdrList.province,
                  city: app.AdrList.city,
                  district: app.AdrList.district
                });

              } else {
                  layer.msg(res.data);
              }
              layer.close(loading);
          });
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ebd429-293b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ebd429-293b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?