Files
orion-visor/orion-ops-ui/src/views/user/child2/index.vue

20 lines
302 B
Vue
Raw Normal View History

2023-07-29 13:11:19 +08:00
<template>
<div>
<p>UserChild 2</p>
<h1 v-permission="['admin']">123</h1>
2023-08-02 17:08:40 +08:00
<button @click="red">red</button>
2023-07-29 13:11:19 +08:00
</div>
</template>
2023-08-02 17:08:40 +08:00
<script lang="ts" setup>
import router from '@/router';
function red() {
router.push({ name: 'workplace' });
}
2023-07-29 13:11:19 +08:00
</script>
<style scoped>
</style>