How to change the corresponding text according to the id of provinces, cities and regions

how to change the corresponding text

according to the id of provinces, cities and regions.
May.05,2022
There is no
let obj = {'430100':'','430101':''};
obj['430100'] // ''

code. Sorry, I can't guess


  /**
   * ID
   * @param {Object} obj
   *  @param obj.dataList 
   *  @param obj.value        'value'
   *  @param obj.label      'label'
   *  @param obj.data     
   * @return name        
   */
  getDataName: (obj) => {
    let name = obj.data
    if (Array.isArray(obj.dataList) && obj.dataList.length > 0) {
      for (let i = 0; i < obj.dataList.length; iPP) {
        if (obj.dataList[i][obj.value] === obj.data) {
          name = obj.dataList[i][obj.label]
        }
      }
    }
    return name
  }

option has no corresponding id?

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-1b48226-2c065.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-1b48226-2c065.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?