系统中经常用到的省市区联动
mixins
@/utils/views/mixins/region.js:
1 | export default { |
接口调用方法见axios封装及api调用方法
使用
index.vue:
模板:
1 | <FormItem label="省: "> |
script:
1 | import { WindowSize, BreadCrumb, Region } from '@/views/mixins'; |
虾米俊的博客
系统中经常用到的省市区联动
@/utils/views/mixins/region.js:
1 | export default { |
接口调用方法见axios封装及api调用方法
index.vue:
模板:
1 | <FormItem label="省: "> |
script:
1 | import { WindowSize, BreadCrumb, Region } from '@/views/mixins'; |