浏览代码

1. 将 BasePage 重命名为 PageParam
2. 增加代码注释
3. 调整 menu 重置表单的逻辑,避免写 2 遍 null 的数据

YunaiV 2 年之前
父节点
当前提交
c6a445c487

+ 2 - 0
yudao-ui-admin-vue3/src/views/system/loginlog/index.vue

@@ -45,6 +45,7 @@ const { gridOptions } = useVxeGrid<LoginLogVO>({
   allSchemas: allSchemas,
   getListApi: getLoginLogPageApi
 })
+
 // 详情操作
 const detailRef = ref() // 详情 Ref
 const dialogVisible = ref(false) // 是否显示弹出层
@@ -54,6 +55,7 @@ const handleDetail = async (row: LoginLogVO) => {
   detailRef.value = row
   dialogVisible.value = true
 }
+
 // 导出操作
 const handleExport = async () => {
   const queryParams = Object.assign(

+ 2 - 0
yudao-ui-admin-vue3/src/views/system/oauth2/token/index.vue

@@ -43,6 +43,7 @@ const { gridOptions } = useVxeGrid<TokenApi.OAuth2TokenVO>({
   allSchemas: allSchemas,
   getListApi: TokenApi.getAccessTokenPageApi
 })
+
 // ========== 详情相关 ==========
 const detailRef = ref() // 详情 Ref
 const dialogVisible = ref(false) // 是否显示弹出层
@@ -53,6 +54,7 @@ const handleDetail = async (row: TokenApi.OAuth2TokenVO) => {
   detailRef.value = row
   dialogVisible.value = true
 }
+
 // 强退操作
 const handleForceLogout = (rowId: number) => {
   message