fix: lint
This commit is contained in:
@@ -530,7 +530,10 @@ onMounted(async () => {
|
|||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
<div class="button-setting-item-label">
|
<div class="button-setting-item-label">
|
||||||
<Switch v-model:checked="item.enable" @change="updateElementExtensions" />
|
<Switch
|
||||||
|
v-model:checked="item.enable"
|
||||||
|
@change="updateElementExtensions"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ const bpmnInstances = () => (window as any)?.bpmnInstances;
|
|||||||
const generateStandardId = (type: string): string => {
|
const generateStandardId = (type: string): string => {
|
||||||
const prefix = type === 'message' ? 'Message_' : 'Signal_';
|
const prefix = type === 'message' ? 'Message_' : 'Signal_';
|
||||||
const timestamp = Date.now();
|
const timestamp = Date.now();
|
||||||
const random = Math.random().toString(36).substring(2, 6).toUpperCase();
|
const random = Math.random().toString(36).slice(2, 6).toUpperCase();
|
||||||
return `${prefix}${timestamp}_${random}`;
|
return `${prefix}${timestamp}_${random}`;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -153,14 +153,14 @@ watch(
|
|||||||
.header-editor {
|
.header-editor {
|
||||||
.header-list {
|
.header-list {
|
||||||
max-height: 400px;
|
max-height: 400px;
|
||||||
overflow-y: auto;
|
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-item {
|
.header-item {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
|
align-items: center;
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
|
|
||||||
.header-key {
|
.header-key {
|
||||||
@@ -168,8 +168,8 @@ watch(
|
|||||||
}
|
}
|
||||||
|
|
||||||
.separator {
|
.separator {
|
||||||
color: #606266;
|
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
color: #606266;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-value {
|
.header-value {
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
<!-- eslint-disable prettier/prettier -->
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { inject, nextTick, onBeforeUnmount, ref, toRaw, watch } from 'vue';
|
import { inject, nextTick, onBeforeUnmount, ref, toRaw, watch } from 'vue';
|
||||||
|
|
||||||
@@ -203,7 +204,7 @@ const updateHttpExtensions = (force = false) => {
|
|||||||
? String(!!rawValue)
|
? String(!!rawValue)
|
||||||
: (rawValue === undefined
|
: (rawValue === undefined
|
||||||
? ''
|
? ''
|
||||||
: String(rawValue));
|
: rawValue.toString());
|
||||||
|
|
||||||
desiredEntries.push([name, persisted]);
|
desiredEntries.push([name, persisted]);
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -2,8 +2,8 @@ import type { Ref } from 'vue';
|
|||||||
|
|
||||||
import type { VbenFormSchema } from '#/adapter/form';
|
import type { VbenFormSchema } from '#/adapter/form';
|
||||||
import type { VxeGridProps, VxeTableGridOptions } from '#/adapter/vxe-table';
|
import type { VxeGridProps, VxeTableGridOptions } from '#/adapter/vxe-table';
|
||||||
import type { MallSpuApi } from '#/api/mall/product/spu';
|
|
||||||
import type { MallCategoryApi } from '#/api/mall/product/category';
|
import type { MallCategoryApi } from '#/api/mall/product/category';
|
||||||
|
import type { MallSpuApi } from '#/api/mall/product/spu';
|
||||||
|
|
||||||
import { computed } from 'vue';
|
import { computed } from 'vue';
|
||||||
|
|
||||||
|
|||||||
@@ -4,13 +4,13 @@ import type { MpMaterialApi } from '#/api/mp/material';
|
|||||||
|
|
||||||
import { watch } from 'vue';
|
import { watch } from 'vue';
|
||||||
|
|
||||||
|
import { $t } from '@vben/locales';
|
||||||
import { openWindow } from '@vben/utils';
|
import { openWindow } from '@vben/utils';
|
||||||
|
|
||||||
import { ACTION_ICON, TableAction, useVbenVxeGrid } from '#/adapter/vxe-table';
|
import { ACTION_ICON, TableAction, useVbenVxeGrid } from '#/adapter/vxe-table';
|
||||||
import { WxVideoPlayer } from '#/views/mp/components';
|
import { WxVideoPlayer } from '#/views/mp/components';
|
||||||
|
|
||||||
import { useVideoGridColumns } from './data';
|
import { useVideoGridColumns } from './data';
|
||||||
import {$t} from '@vben/locales';
|
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
list: MpMaterialApi.Material[];
|
list: MpMaterialApi.Material[];
|
||||||
|
|||||||
Reference in New Issue
Block a user