update documemt and form styles
This commit is contained in:
1 parent
9326746fe7
commit
8c5173efec
3 files changed
+10
-3
No files matched your search
@@ -119,6 +119,7 @@ import { ElPopover, ElInput, ElSelect, ElButton, ElTooltip, ElOption, ElMessage
|
||||
import { ERROR_CODE_DUPLICATION, ERROR_CODE_UNVERIFIED } from '@/constants/errorCode';
|
||||
import { getVerificationUrl } from '@/utils';
|
||||
import ApplicationConfirm from '@/components/application/Confirm.vue';
|
||||
import { ROUTE_AUTH_LOGIN } from '@/router/constants';
|
||||
|
||||
interface IData {
|
||||
value: {
|
||||
|
||||
@@ -51,8 +51,8 @@ export default {
|
||||
}
|
||||
|
||||
.main {
|
||||
max-width: 2000px;
|
||||
margin: auto;
|
||||
// max-width: 2000px;
|
||||
// margin: auto;
|
||||
.left {
|
||||
float: left;
|
||||
width: 280px;
|
||||
|
||||
@@ -126,7 +126,7 @@ import { apiOperator } from '@/operators/api/operator';
|
||||
import { IApi, IApiListResponse } from '@/operators/api/models';
|
||||
import { IApplicationType } from '@/operators/application/models';
|
||||
import MarkdownRenderer from '@/components/common/MarkdownRenderer.vue';
|
||||
import { ROUTE_CONSOLE_APPLICATION_LIST } from '@/router';
|
||||
import { ROUTE_AUTH_LOGIN, ROUTE_CONSOLE_APPLICATION_LIST } from '@/router';
|
||||
import { ElCol, ElRow, ElButton, ElCard, ElDivider, ElSkeleton, ElSkeletonItem } from 'element-plus';
|
||||
import ApiPreview from '@/components/api/Preview.vue';
|
||||
import ProxyPreview from '@/components/proxy/Preview.vue';
|
||||
@@ -233,6 +233,12 @@ export default defineComponent({
|
||||
});
|
||||
},
|
||||
onConfirm(obj: IApi | IProxy, type: IApplicationType) {
|
||||
if (!this.$store.getters.authenticated) {
|
||||
this.$router.push({
|
||||
name: ROUTE_AUTH_LOGIN,
|
||||
query: { redirect: this.$route.fullPath }
|
||||
});
|
||||
}
|
||||
this.confirming = true;
|
||||
this.confirm.object = obj;
|
||||
this.confirm.type = type;
|
||||
|
||||
Reference in new issue
Block a user