Commit 268e3491 by zhangxw

bug修改

1 parent d6e61b26
...@@ -184,8 +184,10 @@ export default { ...@@ -184,8 +184,10 @@ export default {
methods: { methods: {
getPartsAndPowerType() { getPartsAndPowerType() {
this.$apis.serviceConfig.getScreeningDataApi({}).then(res => { this.$apis.serviceConfig.getScreeningDataApi({}).then(res => {
res?.powerTypeList?.push('自定义') if (this.routeInfo.type != 2) { // 查看无需展示自定义选项
res?.supportPositionList?.push('自定义') res?.powerTypeList?.push('自定义')
res?.supportPositionList?.push('自定义')
}
this.powerTypeList = res?.powerTypeList || [] this.powerTypeList = res?.powerTypeList || []
this.supportPositionList = res?.supportPositionList || [] this.supportPositionList = res?.supportPositionList || []
// 获取配置详情 // 获取配置详情
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!