diff --git a/App.uvue b/App.uvue index 6496abf06b0488c073a9c5aff56837773a8e968b..d482f92dc14c1a72b001589d7c3dbacc933fc5de 100644 --- a/App.uvue +++ b/App.uvue @@ -1,5 +1,6 @@ - - - + }, + // 自动化测试 + getLifeCycleNum(): number { + return state.lifeCycleNum + }, + // 自动化测试 + setLifeCycleNum(num: number) { + setLifeCycleNum(num) + }, + }, +} + + + diff --git a/store/index.uts b/store/index.uts index 09170b23d3441415ea74e19ddcf6eb7b267a81c7..948ff4614e840f27f0ee1da2f61f83221419ab61 100644 --- a/store/index.uts +++ b/store/index.uts @@ -1,4 +1,4 @@ -type State = { +export type State = { lifeCycleNum: number }