fix: warn

This commit is contained in:
xingyu4j 2022-11-15 17:57:03 +08:00
parent 9cf4500ed5
commit 7b64cac984
3 changed files with 3 additions and 4 deletions

View File

@ -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"

View File

@ -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)"

View File

@ -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()