mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-11-12 20:23:52 +08:00
优化服务启动流程,修复后端配置组件名称和vue组件名称不一致无法缓存问题
This commit is contained in:
@@ -61,14 +61,14 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
<script lang="ts" setup name="login_log_index">
|
||||
import { h, reactive, ref } from 'vue';
|
||||
import { useDialog, useMessage } from 'naive-ui';
|
||||
import { BasicTable, TableAction } from '@/components/Table';
|
||||
import { BasicForm, useForm } from '@/components/Form/index';
|
||||
import { usePermission } from '@/hooks/web/usePermission';
|
||||
import { List, Export, Delete } from '@/api/loginLog';
|
||||
import { State, columns, schemas } from './model';
|
||||
import { columns, schemas } from './model';
|
||||
import { ExportOutlined, DeleteOutlined } from '@vicons/antd';
|
||||
import { useRouter } from 'vue-router';
|
||||
|
||||
|
||||
@@ -102,16 +102,9 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
<script lang="ts" setup name="org_dept">
|
||||
import { h, onMounted, ref } from 'vue';
|
||||
import {
|
||||
DataTableColumns,
|
||||
NButton,
|
||||
NTag,
|
||||
TreeSelectOption,
|
||||
useDialog,
|
||||
useMessage,
|
||||
} from 'naive-ui';
|
||||
import { DataTableColumns, NButton, NTag, useDialog, useMessage } from 'naive-ui';
|
||||
import { BasicForm, FormSchema, useForm } from '@/components/Form/index';
|
||||
import { PlusOutlined } from '@vicons/antd';
|
||||
import { TableAction } from '@/components/Table';
|
||||
@@ -278,17 +271,12 @@
|
||||
);
|
||||
},
|
||||
},
|
||||
// {
|
||||
// title: '排序',
|
||||
// key: 'sort',
|
||||
// width: 80,
|
||||
// },
|
||||
{
|
||||
title: '创建时间',
|
||||
key: 'createdAt',
|
||||
width: 150,
|
||||
render: (rows, _) => {
|
||||
return rows.createdAt; //timestampToTime();
|
||||
return rows.createdAt;
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -416,10 +404,7 @@
|
||||
await loadDataTable({});
|
||||
});
|
||||
|
||||
function handleUpdateValue(
|
||||
value: string | number | Array<string | number> | null,
|
||||
_option: TreeSelectOption | null | Array<TreeSelectOption | null>
|
||||
) {
|
||||
function handleUpdateValue(value) {
|
||||
formParams.value.pid = value;
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
<script lang="ts" setup name="org_post">
|
||||
import { h, reactive, ref } from 'vue';
|
||||
import { useDialog, useMessage } from 'naive-ui';
|
||||
import { BasicTable, TableAction } from '@/components/Table';
|
||||
|
||||
Reference in New Issue
Block a user