mirror of
https://github.com/certd/certd.git
synced 2026-05-15 20:47:31 +08:00
chore:
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
<a-tab-pane key="register" tab="注册设置">
|
||||
<SettingRegister v-if="activeKey === 'register'" />
|
||||
</a-tab-pane>
|
||||
<a-tab-pane key="payment" tab="支付设置">
|
||||
<a-tab-pane v-if="settingsStore.isComm" key="payment" tab="支付设置">
|
||||
<SettingPayment v-if="activeKey === 'payment'" />
|
||||
</a-tab-pane>
|
||||
</a-tabs>
|
||||
@@ -25,10 +25,11 @@ import SettingRegister from "/@/views/sys/settings/tabs/register.vue";
|
||||
import SettingPayment from "/@/views/sys/settings/tabs/payment.vue";
|
||||
import { useRoute, useRouter } from "vue-router";
|
||||
import { ref } from "vue";
|
||||
import { useSettingStore } from "/@/store/modules/settings";
|
||||
defineOptions({
|
||||
name: "SysSettings"
|
||||
});
|
||||
|
||||
const settingsStore = useSettingStore();
|
||||
const activeKey = ref("");
|
||||
const route = useRoute();
|
||||
const router = useRouter();
|
||||
|
||||
@@ -68,7 +68,11 @@ const formState = reactive<
|
||||
alipay: PaymentItem;
|
||||
wxpay: PaymentItem;
|
||||
}>
|
||||
>({});
|
||||
>({
|
||||
yizhifu: { enabled: false },
|
||||
alipay: { enabled: false },
|
||||
wxpay: { enabled: false }
|
||||
});
|
||||
|
||||
async function loadSettings() {
|
||||
const data: any = await api.SettingGet();
|
||||
|
||||
Reference in New Issue
Block a user