mirror of
https://github.com/luzhisheng/js_reverse.git
synced 2025-04-20 03:59:57 +08:00
8 lines
105 B
TypeScript
8 lines
105 B
TypeScript
import { ref } from 'vue'
|
|
|
|
export const num = ref(0)
|
|
|
|
export function changeNum() {
|
|
num.value += 1
|
|
}
|