feat: Feature/pro docs (#70)
* chore: merge main * feat: update docs * feat: remove coze-assistant * feat: add watermark plugin * feat: update preferences * feat: update docs --------- Co-authored-by: vince <vince292007@gmail.com>
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import { Fallback } from '@vben/common-ui';
|
||||
|
||||
defineOptions({ name: 'AccessAdminVisible' });
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
@@ -9,8 +9,6 @@ import { Button } from 'ant-design-vue';
|
||||
|
||||
import { resetAllStores, useAccessStore } from '#/store';
|
||||
|
||||
defineOptions({ name: 'AccessButtonControl' });
|
||||
|
||||
const accounts: Record<string, LoginAndRegisterParams> = {
|
||||
admin: {
|
||||
password: '123456',
|
||||
|
@@ -9,8 +9,6 @@ import { Button } from 'ant-design-vue';
|
||||
|
||||
import { resetAllStores, useAccessStore } from '#/store';
|
||||
|
||||
defineOptions({ name: 'Access' });
|
||||
|
||||
const accounts: Record<string, LoginAndRegisterParams> = {
|
||||
admin: {
|
||||
password: '123456',
|
||||
@@ -51,7 +49,9 @@ async function handleToggleAccessMode() {
|
||||
resetAllStores();
|
||||
|
||||
await accessStore.authLogin(accounts.super, async () => {
|
||||
router.go(0);
|
||||
setTimeout(() => {
|
||||
router.go(0);
|
||||
}, 150);
|
||||
});
|
||||
}
|
||||
</script>
|
||||
|
@@ -1,7 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import { Fallback } from '@vben/common-ui';
|
||||
|
||||
defineOptions({ name: 'AccessMenuVisible403' });
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
@@ -1,7 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import { Fallback } from '@vben/common-ui';
|
||||
|
||||
defineOptions({ name: 'AccessSuperVisible' });
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
@@ -1,7 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import { Fallback } from '@vben/common-ui';
|
||||
|
||||
defineOptions({ name: 'AccessUserVisible' });
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
Reference in New Issue
Block a user