diff --git a/packages/ui/certd-client/src/router/source/modules/certd.ts b/packages/ui/certd-client/src/router/source/modules/certd.ts
index 12069fc6..d7f01a3d 100644
--- a/packages/ui/certd-client/src/router/source/modules/certd.ts
+++ b/packages/ui/certd-client/src/router/source/modules/certd.ts
@@ -95,6 +95,7 @@ export const certdResources = [
meta: {
icon: "ion:link-outline",
auth: true,
+ keepAlive: true,
},
},
{
@@ -105,6 +106,7 @@ export const certdResources = [
meta: {
icon: "mdi:format-list-group",
auth: true,
+ keepAlive: true,
},
},
@@ -198,6 +200,7 @@ export const certdResources = [
},
icon: "ion:bag-check-outline",
auth: true,
+ keepAlive: true,
},
},
{
diff --git a/packages/ui/certd-client/src/router/source/modules/sys.ts b/packages/ui/certd-client/src/router/source/modules/sys.ts
index 591e084c..9693eb11 100644
--- a/packages/ui/certd-client/src/router/source/modules/sys.ts
+++ b/packages/ui/certd-client/src/router/source/modules/sys.ts
@@ -87,6 +87,7 @@ export const sysResources = [
},
icon: "ion:menu",
permission: "sys:settings:view",
+ keepAlive: true,
},
},
{
@@ -101,6 +102,7 @@ export const sysResources = [
},
icon: "ion:disc-outline",
permission: "sys:settings:view",
+ keepAlive: true,
},
},
{
@@ -160,6 +162,7 @@ export const sysResources = [
icon: "ion:list-outline",
//需要校验权限
permission: "sys:auth:per:view",
+ keepAlive: true,
},
},
{
@@ -170,6 +173,7 @@ export const sysResources = [
meta: {
icon: "ion:people-outline",
permission: "sys:auth:role:view",
+ keepAlive: true,
},
},
{
@@ -180,6 +184,7 @@ export const sysResources = [
meta: {
icon: "ion:person-outline",
permission: "sys:auth:user:view",
+ keepAlive: true,
},
},
@@ -195,6 +200,7 @@ export const sysResources = [
const settingStore = useSettingStore();
return settingStore.isComm;
},
+ keepAlive: true,
},
children: [
{
@@ -223,6 +229,7 @@ export const sysResources = [
},
icon: "ion:bag-check",
permission: "sys:settings:edit",
+ keepAlive: true,
},
},
{
@@ -237,6 +244,7 @@ export const sysResources = [
},
icon: "ion:gift-outline",
auth: true,
+ keepAlive: true,
},
},
],
diff --git a/packages/ui/certd-client/src/views/certd/access/index.vue b/packages/ui/certd-client/src/views/certd/access/index.vue
index d1f04e03..79d6164f 100644
--- a/packages/ui/certd-client/src/views/certd/access/index.vue
+++ b/packages/ui/certd-client/src/views/certd/access/index.vue
@@ -32,8 +32,8 @@ export default defineComponent({
return {
crudBinding,
- crudRef
+ crudRef,
};
- }
+ },
});
diff --git a/packages/ui/certd-client/src/views/certd/cname/record/index.vue b/packages/ui/certd-client/src/views/certd/cname/record/index.vue
index fb0050be..8452b82a 100644
--- a/packages/ui/certd-client/src/views/certd/cname/record/index.vue
+++ b/packages/ui/certd-client/src/views/certd/cname/record/index.vue
@@ -19,14 +19,14 @@
-
+
diff --git a/packages/ui/certd-client/src/views/certd/history/index.vue b/packages/ui/certd-client/src/views/certd/history/index.vue
index 8319b7cb..6df7ed42 100644
--- a/packages/ui/certd-client/src/views/certd/history/index.vue
+++ b/packages/ui/certd-client/src/views/certd/history/index.vue
@@ -14,14 +14,14 @@
diff --git a/packages/ui/certd-client/src/views/certd/open/openkey/index.vue b/packages/ui/certd-client/src/views/certd/open/openkey/index.vue
index 0fa53b7c..c21599a8 100644
--- a/packages/ui/certd-client/src/views/certd/open/openkey/index.vue
+++ b/packages/ui/certd-client/src/views/certd/open/openkey/index.vue
@@ -17,7 +17,7 @@ import createCrudOptions from "./crud";
import { OPEN_API_DOC } from "/@/views/certd/open/openkey/api";
defineOptions({
- name: "OpenKey"
+ name: "OpenKey",
});
const { crudBinding, crudRef, crudExpose } = useFs({ createCrudOptions, context: {} });
diff --git a/packages/ui/certd-client/src/views/certd/pipeline/group/index.vue b/packages/ui/certd-client/src/views/certd/pipeline/group/index.vue
index 9e3ffee6..f4cdad28 100644
--- a/packages/ui/certd-client/src/views/certd/pipeline/group/index.vue
+++ b/packages/ui/certd-client/src/views/certd/pipeline/group/index.vue
@@ -31,8 +31,8 @@ export default defineComponent({
return {
crudBinding,
- crudRef
+ crudRef,
};
- }
+ },
});
diff --git a/packages/ui/certd-client/src/views/certd/suite/product-info.vue b/packages/ui/certd-client/src/views/certd/suite/product-info.vue
index c09c3382..0294fd41 100644
--- a/packages/ui/certd-client/src/views/certd/suite/product-info.vue
+++ b/packages/ui/certd-client/src/views/certd/suite/product-info.vue
@@ -34,13 +34,7 @@
时长
-
+
{{ durationDict.dataMap[dp.duration]?.label }}
@@ -74,8 +68,8 @@ const selected = ref(props.product.durationPrices[0]);
const productTypeDictRef = dict({
data: [
{ value: "suite", label: "套餐", color: "green" },
- { value: "addon", label: "加量包", color: "blue" }
- ]
+ { value: "addon", label: "加量包", color: "blue" },
+ ],
});
const emit = defineEmits(["order"]);
diff --git a/packages/ui/certd-client/src/views/certd/trade/index.vue b/packages/ui/certd-client/src/views/certd/trade/index.vue
index 1e162e1b..dae89025 100644
--- a/packages/ui/certd-client/src/views/certd/trade/index.vue
+++ b/packages/ui/certd-client/src/views/certd/trade/index.vue
@@ -14,14 +14,14 @@
diff --git a/packages/ui/certd-client/src/views/sys/access/index.vue b/packages/ui/certd-client/src/views/sys/access/index.vue
index ca0b66ec..919916f7 100644
--- a/packages/ui/certd-client/src/views/sys/access/index.vue
+++ b/packages/ui/certd-client/src/views/sys/access/index.vue
@@ -11,7 +11,7 @@
diff --git a/packages/ui/certd-client/src/views/sys/account/index.vue b/packages/ui/certd-client/src/views/sys/account/index.vue
index 5cc70b77..74e14319 100644
--- a/packages/ui/certd-client/src/views/sys/account/index.vue
+++ b/packages/ui/certd-client/src/views/sys/account/index.vue
@@ -20,7 +20,7 @@ import * as api from "./api";
import { notification } from "ant-design-vue";
defineOptions({
- name: "AccountBind"
+ name: "AccountBind",
});
const iframeRef = ref();
@@ -44,7 +44,7 @@ onMounted(() => {
const iframeClient = new IframeClient(iframeRef.value, (e: any) => {
notification.error({
message: " error",
- description: e.message
+ description: e.message,
});
});
iframeClient.register("getSubjectInfo", async (req: any) => {
@@ -52,33 +52,33 @@ onMounted(() => {
subjectId: settingStore.installInfo.siteId,
installAt: settingStore.installInfo.installTime,
vipType: settingStore.plusInfo.vipType || "free",
- expiresAt: settingStore.plusInfo.expireTime
+ expiresAt: settingStore.plusInfo.expireTime,
};
return subjectInfo;
});
let preBindUserId: any = null;
- iframeClient.register("preBindUser", async (req) => {
+ iframeClient.register("preBindUser", async req => {
const userId = req.data.userId;
preBindUserId = userId;
await api.PreBindUser(userId);
});
- iframeClient.register("onBoundUser", async (req) => {
+ iframeClient.register("onBoundUser", async req => {
await api.BindUser(preBindUserId);
});
- iframeClient.register("unbindUser", async (req) => {
+ iframeClient.register("unbindUser", async req => {
const userId = req.data.userId;
await api.UnbindUser(userId);
});
- iframeClient.register("updateLicense", async (req) => {
+ iframeClient.register("updateLicense", async req => {
await api.UpdateLicense(req.data);
await settingStore.init();
notification.success({
message: "更新成功",
- description: "专业版/商业版已激活"
+ description: "专业版/商业版已激活",
});
});
});
diff --git a/packages/ui/certd-client/src/views/sys/authority/permission/index.vue b/packages/ui/certd-client/src/views/sys/authority/permission/index.vue
index 9b58e16c..9e07ade2 100644
--- a/packages/ui/certd-client/src/views/sys/authority/permission/index.vue
+++ b/packages/ui/certd-client/src/views/sys/authority/permission/index.vue
@@ -8,21 +8,13 @@
添加
-
+
diff --git a/packages/ui/certd-client/src/views/sys/plugin/index.vue b/packages/ui/certd-client/src/views/sys/plugin/index.vue
index ed2626ef..c4f1b188 100644
--- a/packages/ui/certd-client/src/views/sys/plugin/index.vue
+++ b/packages/ui/certd-client/src/views/sys/plugin/index.vue
@@ -14,7 +14,7 @@
diff --git a/packages/ui/certd-client/src/views/sys/settings/index.vue b/packages/ui/certd-client/src/views/sys/settings/index.vue
index 66d17731..b8a14d14 100644
--- a/packages/ui/certd-client/src/views/sys/settings/index.vue
+++ b/packages/ui/certd-client/src/views/sys/settings/index.vue
@@ -27,7 +27,7 @@ import { useRoute, useRouter } from "vue-router";
import { ref } from "vue";
import { useSettingStore } from "/@/store/modules/settings";
defineOptions({
- name: "SysSettings"
+ name: "SysSettings",
});
const settingsStore = useSettingStore();
const activeKey = ref("");
diff --git a/packages/ui/certd-client/src/views/sys/site/index.vue b/packages/ui/certd-client/src/views/sys/site/index.vue
index 1f375eb0..931a7135 100644
--- a/packages/ui/certd-client/src/views/sys/site/index.vue
+++ b/packages/ui/certd-client/src/views/sys/site/index.vue
@@ -47,7 +47,7 @@ import { useUserStore } from "/@/store/modules/user";
import { merge } from "lodash-es";
defineOptions({
- name: "SiteSetting"
+ name: "SiteSetting",
});
interface FormState {
@@ -78,7 +78,7 @@ const onFinish = async (form: any) => {
await loadSysSiteSettings();
await settingsStore.loadSysSettings();
notification.success({
- message: "保存成功"
+ message: "保存成功",
});
} finally {
saveLoading.value = false;
@@ -91,11 +91,11 @@ const uploaderConfig = ref({
action: "/basic/file/upload",
name: "file",
headers: {
- Authorization: "Bearer " + userStore.getToken
+ Authorization: "Bearer " + userStore.getToken,
},
successHandle(res: any) {
return res;
- }
+ },
});
function buildUrl(key: string) {
@@ -109,12 +109,12 @@ function onFinishFailed(err: any) {
const cropperOptions = ref({
aspectRatio: 1,
autoCropArea: 1,
- viewMode: 0
+ viewMode: 0,
});
const loginLogoCropperOptions = ref({
aspectRatio: 3,
autoCropArea: 1,
- viewMode: 0
+ viewMode: 0,
});
diff --git a/packages/ui/certd-client/src/views/sys/suite/product/index.vue b/packages/ui/certd-client/src/views/sys/suite/product/index.vue
index add0870a..97d6d97e 100644
--- a/packages/ui/certd-client/src/views/sys/suite/product/index.vue
+++ b/packages/ui/certd-client/src/views/sys/suite/product/index.vue
@@ -3,12 +3,12 @@
diff --git a/packages/ui/certd-client/src/views/sys/suite/trade/index.vue b/packages/ui/certd-client/src/views/sys/suite/trade/index.vue
index fd0810e3..1cca19b9 100644
--- a/packages/ui/certd-client/src/views/sys/suite/trade/index.vue
+++ b/packages/ui/certd-client/src/views/sys/suite/trade/index.vue
@@ -17,14 +17,14 @@
diff --git a/packages/ui/certd-client/src/views/sys/suite/user-suite/index.vue b/packages/ui/certd-client/src/views/sys/suite/user-suite/index.vue
index 3aa5016c..341b8e45 100644
--- a/packages/ui/certd-client/src/views/sys/suite/user-suite/index.vue
+++ b/packages/ui/certd-client/src/views/sys/suite/user-suite/index.vue
@@ -16,7 +16,7 @@ import { useFs } from "@fast-crud/fast-crud";
import createCrudOptions from "./crud";
defineOptions({
- name: "UserSuites"
+ name: "UserSuites",
});
const { crudBinding, crudRef, crudExpose } = useFs({ createCrudOptions, context: {} });