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 CHANGED
@@ -14,3 +14,4 @@ the [Vue Docs TypeScript Guide](https://vuejs.org/guide/typescript/overview.html
14
14
  - [X] 凭证保存成功后,自动新建空白凭证窗口
15
15
  - [ ] 科目选择框新增搜索功能(暂时搁置)
16
16
  - [X] 金额支持小数点,计算精度保留到分
17
+ - [ ] 输入框点击后,无需聚焦。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "accounting-page",
3
- "version": "0.1.15",
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.16.1",
13
+ "axios": "^1.17.0",
14
14
  "vant": "^4.9.24",
15
- "vue": "^3.5.34",
16
- "vue-router": "^5.0.7"
15
+ "vue": "^3.5.35",
16
+ "vue-router": "^5.1.0"
17
17
  },
18
18
  "devDependencies": {
19
- "@types/node": "^25.9.1",
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.14",
24
- "vue-tsc": "^3.3.1"
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" name="/balance-sheet">资产负债表</van-tabbar-item>
13
- <van-tabbar-item icon="orders" to="/voucher" name="/voucher">凭证记账</van-tabbar-item>
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