location-china
0.1.7 • Public • Published location-china
Province
toShort
public toShort() {
if (this.name.indexOf('自治区') !== -1) {
return this.name.substr(0, 2)
}
return this.name.replace(/[(\u7701)|(\u5E02)]/g, '')
}
Readme
Keywords
nonePackage Sidebar
Install
Weekly Downloads