accounting-page 0.1.15 → 0.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/package.json +7 -7
- package/src/App.vue +3 -6
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "accounting-page",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.17",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "vite",
|
|
@@ -10,17 +10,17 @@
|
|
|
10
10
|
"update-check": "npm install --no-save npm-check && npm-check -u"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"axios": "^1.
|
|
13
|
+
"axios": "^1.17.0",
|
|
14
14
|
"vant": "^4.9.24",
|
|
15
|
-
"vue": "^3.5.
|
|
16
|
-
"vue-router": "^5.0
|
|
15
|
+
"vue": "^3.5.35",
|
|
16
|
+
"vue-router": "^5.1.0"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@types/node": "^25.9.
|
|
19
|
+
"@types/node": "^25.9.2",
|
|
20
20
|
"@vitejs/plugin-vue": "^6.0.7",
|
|
21
21
|
"@vue/tsconfig": "^0.9.1",
|
|
22
22
|
"typescript": "~6.0.2",
|
|
23
|
-
"vite": "^8.0.
|
|
24
|
-
"vue-tsc": "^3.3.
|
|
23
|
+
"vite": "^8.0.16",
|
|
24
|
+
"vue-tsc": "^3.3.3"
|
|
25
25
|
}
|
|
26
26
|
}
|
package/src/App.vue
CHANGED
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { ref } from 'vue'
|
|
3
|
-
|
|
4
|
-
console.log(""+location.pathname)
|
|
5
|
-
let pathname = ref(location.pathname)
|
|
6
|
-
const active = ref(pathname.value)
|
|
3
|
+
const active = ref(0)
|
|
7
4
|
</script>
|
|
8
5
|
|
|
9
6
|
<template>
|
|
10
7
|
<router-view />
|
|
11
8
|
<van-tabbar v-model="active" fixed>
|
|
12
|
-
<van-tabbar-item icon="balance" to="/balance-sheet"
|
|
13
|
-
<van-tabbar-item icon="orders" to="/voucher"
|
|
9
|
+
<van-tabbar-item icon="balance" to="/balance-sheet" >资产负债表</van-tabbar-item>
|
|
10
|
+
<van-tabbar-item icon="orders" to="/voucher" >凭证记账</van-tabbar-item>
|
|
14
11
|
</van-tabbar>
|
|
15
12
|
</template>
|
|
16
13
|
|