Commit 3519d25840b443b6a4714db97f18a2937d7cd2e4
1 parent
7b487076
fix
Showing
2 changed files
with
1 additions
and
4 deletions
Show diff stats
src/styles/components/input.less
src/utils/assist.js
| @@ -236,13 +236,10 @@ export function findComponentsUpward (context, componentName) { | @@ -236,13 +236,10 @@ export function findComponentsUpward (context, componentName) { | ||
| 236 | export function findBrothersComponents (context, componentName, exceptMe = true) { | 236 | export function findBrothersComponents (context, componentName, exceptMe = true) { |
| 237 | let res = context.$parent.$children.filter(item => { | 237 | let res = context.$parent.$children.filter(item => { |
| 238 | if(componentName === "SideMenuItem"){ | 238 | if(componentName === "SideMenuItem"){ |
| 239 | - console.log(item) | ||
| 240 | - console.log(item.$options.name) | ||
| 241 | } | 239 | } |
| 242 | return item.$options.name === componentName; | 240 | return item.$options.name === componentName; |
| 243 | }); | 241 | }); |
| 244 | if(componentName === "SideMenuItem"){ | 242 | if(componentName === "SideMenuItem"){ |
| 245 | - console.log(res) | ||
| 246 | } | 243 | } |
| 247 | let index = res.findIndex(item => item._uid === context._uid); | 244 | let index = res.findIndex(item => item._uid === context._uid); |
| 248 | if (exceptMe) res.splice(index, 1); | 245 | if (exceptMe) res.splice(index, 1); |