feat 设置page
This commit is contained in:
2
.vscode/extensions.json
vendored
2
.vscode/extensions.json
vendored
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"recommendations": [
|
"recommendations": [
|
||||||
"antfu.vite",
|
// "antfu.vite",
|
||||||
"antfu.iconify",
|
"antfu.iconify",
|
||||||
"antfu.unocss",
|
"antfu.unocss",
|
||||||
"vue.volar",
|
"vue.volar",
|
||||||
|
|||||||
@@ -8,6 +8,6 @@ definePage({
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<view>
|
<view>
|
||||||
<h1>你好</h1>
|
<h1>报告</h1>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
13
src/pages/work/index.vue
Normal file
13
src/pages/work/index.vue
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
<script lang="ts" setup>
|
||||||
|
definePage({
|
||||||
|
layout: false,
|
||||||
|
})
|
||||||
|
|
||||||
|
// const { value: name } = useQuery('name')
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<view>
|
||||||
|
<h1>压实作业</h1>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
5
src/uni-pages.d.ts
vendored
5
src/uni-pages.d.ts
vendored
@@ -4,8 +4,9 @@
|
|||||||
// Generated by vite-plugin-uni-pages
|
// Generated by vite-plugin-uni-pages
|
||||||
|
|
||||||
type _LocationUrl =
|
type _LocationUrl =
|
||||||
"/pages/index" |
|
"/pages/home/index" |
|
||||||
"/pages/hi";
|
"/pages/report/index" |
|
||||||
|
"/pages/work/index";
|
||||||
|
|
||||||
interface NavigateToOptions {
|
interface NavigateToOptions {
|
||||||
url: _LocationUrl;
|
url: _LocationUrl;
|
||||||
|
|||||||
Reference in New Issue
Block a user