forms/chinaArea/ChinaLocations.js | ●●●●● patch | view | raw | blame | history | |
plugins/filter/CFilter.vue | ●●●●● patch | view | raw | blame | history |
forms/chinaArea/ChinaLocations.js
@@ -216,6 +216,12 @@ if (!regions || regions.length === 0 || !regions[0]) { callback(''); } if (!/^\d+$/.test(regions[0])) { this.getRegionCodes(regions, regionsCode => { this.getRegionsArea(regionsCode, callback); }); return; } let area = ''; // 省 for (let provinceCode in locationRes) { @@ -238,6 +244,6 @@ callback(area); }); } }; } export const $locations = new ChinaLocations(); plugins/filter/CFilter.vue
@@ -199,6 +199,7 @@ }, mounted() { $(this.$refs.filter).parent().css({ transform: 'translate(0,0);' }); console.log(this.filterRes); }, }; </script>