mirror of
https://github.com/certd/certd.git
synced 2026-04-14 20:40:53 +08:00
fix: 部署到腾讯云cdn选择证书任务步骤限制只能选证书
This commit is contained in:
@@ -12,6 +12,9 @@ export default {
|
||||
modelValue: {
|
||||
type: String,
|
||||
default: undefined
|
||||
},
|
||||
from: {
|
||||
type: String
|
||||
}
|
||||
},
|
||||
emits: ["update:modelValue"],
|
||||
@@ -32,6 +35,9 @@ export default {
|
||||
currentStepIndex: currentStepIndex.value,
|
||||
currentTask: currentTask.value
|
||||
});
|
||||
if (props.from) {
|
||||
options.value = options.value.filter((item: any) => item.type === props.from);
|
||||
}
|
||||
if (props.modelValue == null && options.value.length > 0) {
|
||||
ctx.emit("update:modelValue", options.value[0].value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user