This commit is contained in:
奖励一杯巧克力 2026-05-28 13:22:38 +08:00
parent 9fd2b6f137
commit fae0cf84ba
2 changed files with 4 additions and 2 deletions

View File

@ -17,6 +17,7 @@
<script setup name="Pagination" lang="ts">
import { scrollTo } from '@/utils/scroll-to';
import { propTypes } from '@/utils/propTypes';
import { computed } from 'vue';
const props = defineProps({
total: propTypes.number,

View File

@ -56,10 +56,11 @@
</template>
<script setup name="AuthRole" lang="ts">
import { getCurrentInstance, nextTick, onMounted, ref } from 'vue';
import { RoleVO } from '@/api/system/role/types';
import { getAuthRole, updateAuthRole } from '@/api/system/user';
import { UserForm } from '@/api/system/user/types';
import { RouteLocationNormalized } from 'vue-router';
import { RouteLocationNormalized, useRoute } from 'vue-router';
import { parseTime } from '@/utils/ruoyi';
const route = useRoute();
@ -111,7 +112,7 @@ const close = () => {
redirectedFrom: undefined,
path: '/system/user'
};
proxy?.$tab.closeOpenPage(obj);
proxy?.$tab.closeOpenPage({ path: obj.path });
};
/** 提交按钮 */
const submitForm = async () => {