Merge remote-tracking branch 'origin/main' into lichang

This commit is contained in:
TsMask
2024-04-17 15:39:33 +08:00
4 changed files with 5 additions and 4 deletions

View File

@@ -62,7 +62,7 @@ function fnTableColumnsCheckAllChange(e: any) {
/**表格字段列拖拽操作 */
function fnTableColumnsDrop(dropResult: any) {
const { removedIndex, addedIndex, payload } = dropResult;
if (!removedIndex || !addedIndex) {
if (removedIndex === null || addedIndex === null) {
return;
}
let itemToAdd = payload;
@@ -184,6 +184,7 @@ onMounted(() => {
<a-button
v-if="c.fixed !== undefined"
size="small"
:title="c.fixed ? `Fixed ${c.fixed} side` : ''"
:type="c.fixed ? 'primary' : 'dashed'"
@click="fnTableColumnsFixed(c)"
>

View File

@@ -57,7 +57,7 @@ const useAppStore = defineStore('app', {
loginBackground: '',
helpDoc: '',
officialUrl: '',
i18nOpen: true,
i18nOpen: false,
i18nDefault: 'en_US',
}),
getters: {},