Bladeren bron

fix: warn

xingyu4j 2 jaren geleden
bovenliggende
commit
7b64cac984

+ 1 - 1
yudao-ui-admin-vue3/src/views/system/role/index.vue

@@ -47,7 +47,7 @@
           preIcon="ep:view"
           :title="t('action.detail')"
           v-hasPermi="['system:role:update']"
-          @click="handleDetail(row.id)"
+          @click="handleDetail(row)"
         />
         <XTextButton
           preIcon="ep:basketball"

+ 1 - 1
yudao-ui-admin-vue3/src/views/system/tenantPackage/index.vue

@@ -39,7 +39,7 @@
     </Table>
   </ContentWrap>
 
-  <XModal v-model="dialogVisible" :title="dialogTitle" maxHeight="500px" width="50%">
+  <XModal v-model="dialogVisible" :title="dialogTitle">
     <!-- 对话框(添加 / 修改) -->
     <Form
       v-if="['create', 'update'].includes(actionType)"

+ 1 - 2
yudao-ui-admin-vue3/src/views/system/user/index.vue

@@ -253,7 +253,7 @@
   </XModal>
 </template>
 <script setup lang="ts">
-import { onMounted, reactive, ref, unref, watch } from 'vue'
+import { nextTick, onMounted, reactive, ref, unref, watch } from 'vue'
 import dayjs from 'dayjs'
 import {
   ElTag,
@@ -290,7 +290,6 @@ import { useRouter } from 'vue-router'
 import { CommonStatusEnum } from '@/utils/constants'
 import { getAccessToken, getTenantId } from '@/utils/auth'
 import { useMessage } from '@/hooks/web/useMessage'
-import { nextTick } from 'process'
 
 const message = useMessage()