Commit 3e260a02 authored by 徐一鸣's avatar 徐一鸣

云资源管理列表被禁用后的工作区域不可以进行分配

parent 0f838a4f
......@@ -981,7 +981,11 @@ export default {
},
callback: this.cloudAllot,
disabledRule(item) {
return !(item.approve_state === 1 && item.use_uid === "");
return !(
item.state == 1 &&
item.approve_state === 1 &&
item.use_uid === ""
);
},
},
],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment