mirror of
https://github.com/certd/certd.git
synced 2026-04-28 07:57:25 +08:00
chore: 移除 github star
This commit is contained in:
@@ -18,7 +18,7 @@ export function resetLogConfigure() {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
resetLogConfigure();
|
resetLogConfigure();
|
||||||
export const logger = log4js.getLogger("default");
|
export const logger: ILogger = log4js.getLogger("default") as any;
|
||||||
|
|
||||||
export function resetLogFilePath(filePath: string) {
|
export function resetLogFilePath(filePath: string) {
|
||||||
logFilePath = filePath;
|
logFilePath = filePath;
|
||||||
|
|||||||
@@ -161,27 +161,30 @@ function openStarModal(vipType: string) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Modal.destroyAll();
|
Modal.destroyAll();
|
||||||
const goGithub = () => {
|
|
||||||
window.open("https://github.com/certd/certd/");
|
|
||||||
};
|
|
||||||
|
|
||||||
modal.confirm({
|
openTrialModal(vipType);
|
||||||
title: t("vip.get_7_day_pro_trial"),
|
|
||||||
okText: t("vip.star_now"),
|
// const goGithub = () => {
|
||||||
onOk() {
|
// window.open("https://github.com/certd/certd/");
|
||||||
goGithub();
|
// };
|
||||||
openTrialModal(vipType);
|
|
||||||
},
|
// modal.confirm({
|
||||||
width: 600,
|
// title: t("vip.get_7_day_pro_trial"),
|
||||||
content: () => {
|
// okText: t("vip.star_now"),
|
||||||
return (
|
// onOk() {
|
||||||
<div class="flex mt-10 mb-10">
|
// goGithub();
|
||||||
<div>{t("vip.please_help_star")}</div>
|
// openTrialModal(vipType);
|
||||||
<img class="ml-5" src="https://img.shields.io/github/stars/certd/certd?logo=github" />
|
// },
|
||||||
</div>
|
// width: 600,
|
||||||
);
|
// content: () => {
|
||||||
},
|
// return (
|
||||||
});
|
// <div class="flex mt-10 mb-10">
|
||||||
|
// <div>{t("vip.please_help_star")}</div>
|
||||||
|
// <img class="ml-5" src="https://img.shields.io/github/stars/certd/certd?logo=github" />
|
||||||
|
// </div>
|
||||||
|
// );
|
||||||
|
// },
|
||||||
|
// });
|
||||||
}
|
}
|
||||||
|
|
||||||
function openUpgrade() {
|
function openUpgrade() {
|
||||||
|
|||||||
Reference in New Issue
Block a user