d19ca042 by lihua

提交

1 parent 04932d63
......@@ -696,13 +696,13 @@ const productData: any = ref([]);
const apiList: any = ref([]);
const getAPIOptions = (scope) => {
// apiList.value.forEach(a => {
// if (a.guid != scope.row.guid && productData.value.some(p => p.apiGuid == a.guid)) {
// a.disabled = true;
// } else {
// a.disabled = false;
// }
// })
apiList.value.forEach(a => {
if (a.guid != scope.row.guid && productData.value.some(p => p.apiGuid == a.guid)) {
a.disabled = true;
} else {
a.disabled = false;
}
})
return apiList.value;
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!