mirror of https://github.com/certd/certd
chore:
parent
472f06c2d1
commit
b31c0b6a8d
|
@ -6,6 +6,7 @@ import dayjs from "dayjs";
|
||||||
import { notification } from "ant-design-vue";
|
import { notification } from "ant-design-vue";
|
||||||
import { useSettingStore } from "/@/store/modules/settings";
|
import { useSettingStore } from "/@/store/modules/settings";
|
||||||
import { mySuiteApi } from "/@/views/certd/suite/mine/api";
|
import { mySuiteApi } from "/@/views/certd/suite/mine/api";
|
||||||
|
import { mitter } from "/@/utils/util.mitt";
|
||||||
|
|
||||||
export default function ({ crudExpose, context }: CreateCrudOptionsProps): CreateCrudOptionsRet {
|
export default function ({ crudExpose, context }: CreateCrudOptionsProps): CreateCrudOptionsRet {
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
|
@ -64,8 +65,9 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
|
||||||
//非plus
|
//非plus
|
||||||
if (crudBinding.value.data.length >= 1) {
|
if (crudBinding.value.data.length >= 1) {
|
||||||
notification.error({
|
notification.error({
|
||||||
message: "基础版只能添加一个监控站点"
|
message: "基础版只能添加一个监控站点,请赞助升级专业版"
|
||||||
});
|
});
|
||||||
|
mitter.emit("openVipModal");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue