Closed DerekMar closed 7 months ago
不改代码只能加个css了..
css .v-contextmenu-item--disabled.v-contextmenu-item--hover{ color: #ccc; cursor: not-allowed; background: transparent !important; }
不改代码只能加个css了..
css .v-contextmenu-item--disabled.v-contextmenu-item--hover{ color: #ccc; cursor: not-allowed; background: transparent !important; }
我直接修改了源码,其实就是语句执行顺序换一下而已
@DerekMar 是滴,disabled直接return了, 但是不想把代码拷到项目里- -
@DerekMar @dracarys26 可以考虑提个 PR 😋
当我需要,点击contextmenu的指定项后,需要disable该项时,出现如下效果:
期望结果
实际结果
我希望,当指定项无效时,应该去掉selected的效果
复现步骤
绑定 :disabled="!isDrawing",点击该项后,将 isDrawing = !isDrawing,会出现上述结果
环境说明
Vue
版本: