mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-05 19:41:57 +08:00
32 lines
529 B
Vue
32 lines
529 B
Vue
<template>
|
|
<div class="page">
|
|
home
|
|
<FButton class="m-2" @click="go">
|
|
Button
|
|
</FButton>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup>
|
|
import { defineRouteMeta, useRouter } from '@fesjs/fes';
|
|
import { FButton } from '@fesjs/fes-design';
|
|
|
|
defineRouteMeta({
|
|
name: 'index',
|
|
title: '$test.test',
|
|
});
|
|
|
|
console.log('123123'.replaceAll('123', '234'));
|
|
|
|
const router = useRouter();
|
|
function go() {
|
|
router.push('/editor');
|
|
}
|
|
</script>
|
|
|
|
<style lang="less">
|
|
.page {
|
|
height: 1000px;
|
|
}
|
|
</style>
|