当前位置: 首页 > news >正文

忻州 建网站wordpress app 加载慢

忻州 建网站,wordpress app 加载慢,手机网站建设要注意哪些问题,网站建立分站在做后台的时候需要用到地区级联选择器 然后就自己封装了一个 其中 组件页面中 export default {props: { //使用value接收引用页面的绑定值value: [String]},watch: {value: {handler(val) {//val 以及 this.value 都可以获取到引用页面的绑定值},deep: true,immediate: tr…在做后台的时候需要用到地区级联选择器 然后就自己封装了一个 其中 组件页面中 export default {props: { //使用value接收引用页面的绑定值value: [String]},watch: {value: {handler(val) {//val 以及 this.value 都可以获取到引用页面的绑定值},deep: true,immediate: true}}, } //this.$emit(input, this.changeForm()); 这句代码是给引用页面绑定值返回内容完整地区json文件在网盘中 链接https://pan.quark.cn/s/0b70e60fd377 提取码4sSe 下面是完整代码 引用页面中 select-address v-modelform.applicableRange/main.js中注册组件 import SelectAddress from /components/SelectAddressVue.component(SelectAddress, SelectAddress)组件页面 templatediv classselectAddressel-form :modelformel-select v-modelform.provincial changeupdateProvincials() clearableplaceholder请选择省份el-option v-forprovincial in provincials :keyprovincial.label :valueprovincial.label:labelprovincial.label//el-selectel-select v-modelform.municipal changeupdateMunicipals()placeholder请选择城市el-option v-formunicipal in municipals :keymunicipal.label :valuemunicipal.label:labelmunicipal.label//el-selectel-select v-modelform.regional changeupdateRegionals()placeholder请选择地区el-option v-forregional in regionals :keyregional.label :valueregional.label:labelregional.label//el-selectel-select v-modelform.streets changeupdateStreetss()placeholder请选择街道el-option v-forstreets in streetss :keystreets.label :valuestreets.label :labelstreets.label//el-select/el-form/div /template script const options require(/assets/images/pcas-code.json); export default {props: {value: [String]},data() {return {form: {provincial: null,municipal: null,regional: null,streets: null,},provincials: options,municipals: [],regionals: [],streetss: [],}},watch: {value: {handler(val) {if (val) {const list this.value.split( );if(list.length 1){this.form.provincial list[0];this.updateProvincials();}else if(list.length 2){this.form.provincial list[0];this.updateProvincials();this.form.municipal list[1];this.updateMunicipals();}else if(list.length 3){this.form.provincial list[0];this.updateProvincials();this.form.municipal list[1];this.updateMunicipals();this.form.regional list[2];this.updateRegionals();}} else {this.reset();return [];}},deep: true,immediate: true}},mounted() {},created() {},computed: {},methods: {reset() {this.form {provincial: null,municipal: null,regional: null,streets: null}},updateProvincials() {this.form.municipal ;this.form.regional ;this.form.streets ;this.municipals [];this.regionals [];this.streetss [];this.$emit(input, this.changeForm());if(this.form.provincial){this.municipals this.provincials.find(provincial provincial.label this.form.provincial).children;}},updateMunicipals() {this.form.regional ;this.form.streets ;this.regionals [];this.streetss [];this.$emit(input, this.changeForm());this.regionals this.municipals.find(municipal municipal.label this.form.municipal).children;},updateRegionals() {this.form.streets ;this.streetss [];this.$emit(input, this.changeForm());this.streetss this.regionals.find(regional regional.label this.form.regional).children;},updateStreetss() {this.$emit(input, this.changeForm());},changeForm(){let applicableRange ;if(this.form.provincial){applicableRange this.form.provincial}if(this.form.provincial this.form.municipal){applicableRange this.form.provincial this.form.municipal}if(this.form.provincial this.form.municipal this.form.regional){applicableRange this.form.provincial this.form.municipal this.form.regional}if(this.form.provincial this.form.municipal this.form.regional this.form.streets){applicableRange this.form.provincial this.form.municipal this.form.regional this.form.streets}return applicableRange;}}, } /scriptstyle scoped langscss .el-select {width: 18%;margin-left: 1%; } /style
http://www.dnsts.com.cn/news/129655.html

相关文章:

  • 网页建站分为几个类型网站建设php有哪些
  • 怎样做网站模板简单html代码
  • 网站建设话术北京建筑信息网
  • 国外做蒸汽锅炉的网站Wordpress 点击量 插件
  • 高校档案网站建设齐齐哈尔网站建设公司
  • 惠州网站建设惠州wordpress 创业
  • 网站收录怎么提高iis7网站绑定域名
  • 网站怎么盈利的百度官方免费下载
  • 免费网站建设基础步骤服务器更改wordpress
  • 南阳做个网站多少钱我公司网站开发技术优势
  • 网站建设更改如果你想了解信息
  • 江苏省城乡建设厅网站首页wordpress那个版本好
  • 免费seo排名网站网站做代码图像显示不出来的
  • 个人备案网站可以做淘宝客吗内容营销的概念
  • 曲阳网站建设推广app网站开发费用
  • icp备案系统网站微信公众帐号平台官网
  • 网站域名备案服务门户网站建设工作室
  • 网站版面布局对seo怎么建设网站服务器
  • 网站首页制作做企业网站设
  • asp net做购物网站企业网站开发实训目的和意义
  • 网站建设明细wordpress上传图片不显示
  • 大连网站建设方案宁波网站建设哪里好
  • 济南网站APP宁波北仑网站建设
  • 帮别人建设网站程序员给女朋友做的网站
  • 深圳设计网站源码网站定制开发加公众号
  • 网站会员系统制作wordpress 手机号登入
  • 依波手表价格 官方网站私密浏览器怎么看片
  • 做网站龙岗如何做网址
  • 汽车网站制作传媒公司如何注册
  • 网站二级栏目个人网站包含哪些内容