perf: 支持webhook部署证书

This commit is contained in:
xiaojunnuo
2025-08-07 11:04:25 +08:00
parent 0af193c505
commit cbe0b1c5a6
4 changed files with 219 additions and 4 deletions
@@ -1,7 +1,7 @@
<template>
<div class="pem-input">
<FileInput v-bind="fileInput" class="mb-5" type="primary" text="选择文件" @change="onChange" />
<a-textarea v-bind="textarea" :value="modelValue" @update:value="emitValue"></a-textarea>
<a-textarea placeholder="或直接粘贴" v-bind="textarea" :value="modelValue" @update:value="emitValue"></a-textarea>
</div>
</template>
@@ -27,7 +27,7 @@ function onChange(e: any) {
const size = file.size;
if (size > 100 * 1024) {
notification.error({
message: "文件超过100k,请选择正确的证书文件",
message: "文件超过100k,请选择正确的文件",
});
return;
}