mirror of
https://github.com/certd/certd.git
synced 2026-07-10 15:17:32 +08:00
chore: 增加清理依赖缓存提示
This commit is contained in:
@@ -41,6 +41,7 @@ export default {
|
||||
pluginBetaWarning: "Custom plugins are in BETA and may have breaking changes in future",
|
||||
pleaseSelectRecord: "Please select records first",
|
||||
clearRuntimeDeps: "Clear Runtime Deps Cache",
|
||||
clearRuntimeDepsConfirm: "Are you sure to clear the runtime dependencies cache? Required dependencies will be reinstalled on the next pipeline execution.",
|
||||
clearRuntimeDepsSuccess: "Runtime dependencies cache cleared successfully",
|
||||
clearRuntimeDepsTooltip: "Restart the certd container after clearing, otherwise cached modules will not be reloaded",
|
||||
clearRuntimeDepsConfirm: "Are you sure to clear the runtime dependencies cache? Please restart the certd container afterwards to ensure dependencies are reloaded.",
|
||||
clearRuntimeDepsSuccess: "Runtime dependencies cache cleared successfully, please restart the certd container",
|
||||
};
|
||||
|
||||
@@ -41,6 +41,7 @@ export default {
|
||||
pluginBetaWarning: "自定义插件处于BETA测试版,后续可能会有破坏性变更",
|
||||
pleaseSelectRecord: "请先勾选记录",
|
||||
clearRuntimeDeps: "清理第三方依赖缓存",
|
||||
clearRuntimeDepsConfirm: "确定要清理第三方依赖缓存吗?清理后下次执行流水线时将重新安装所需依赖。",
|
||||
clearRuntimeDepsSuccess: "第三方依赖缓存清理成功",
|
||||
clearRuntimeDepsTooltip: "清除后需重启 certd 容器,否则已缓存模块不会重新读取",
|
||||
clearRuntimeDepsConfirm: "确定要清理第三方依赖缓存吗?清理后请重启 certd 容器以确保重新加载依赖。",
|
||||
clearRuntimeDepsSuccess: "第三方依赖缓存清理成功,请重启 certd 容器",
|
||||
};
|
||||
|
||||
@@ -87,6 +87,7 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
|
||||
show: true,
|
||||
icon: "ion:trash-outline",
|
||||
text: t("certd.clearRuntimeDeps"),
|
||||
tooltip: { title: t("certd.clearRuntimeDepsTooltip") },
|
||||
type: "primary",
|
||||
danger: true,
|
||||
async click() {
|
||||
|
||||
Reference in New Issue
Block a user