yarn serve
yarn build
<template>
<el-select
size="medium"
v-model="getPageParam.pay_method"
placeholder="请选择渠道名称"
no-data-text="请先选择渠道类型"
>
<el-option
v-for="item in handleMethod()"
:key="item.pay_method"
:label="item.pay_method_name"
:value="item.pay_method"
>
</el-option>
</el-select>
</template>
handleMethod(){
for(let i=0;i<this.options_config.length;i++){
if(this.options_config[i].channel_type==this.getPageParam.channel_type){
return this.options_config[i].pay_method_list
}
}
},
toChannelPay(channel_id){
this.$router.push(`channelPay?channel_id=${channel_id}`)
},
this.getPageParam.channel_id=this.$route.query.channel_id