mirror of
https://github.com/un-pany/v3-admin-vite.git
synced 2025-04-20 10:59:21 +08:00
chore: 更新 code-snippets
This commit is contained in:
parent
6ad8d08ff4
commit
0a438082a6
1
.vscode/hook.code-snippets
vendored
1
.vscode/hook.code-snippets
vendored
@ -2,7 +2,6 @@
|
|||||||
"Vue3 Composable 代码结构一键生成": {
|
"Vue3 Composable 代码结构一键生成": {
|
||||||
"prefix": "Vue3 Composable",
|
"prefix": "Vue3 Composable",
|
||||||
"body": [
|
"body": [
|
||||||
"import { ref } from \"vue\"\n",
|
|
||||||
"const refName1 = ref<string>(\"这是一个响应式变量\")\n",
|
"const refName1 = ref<string>(\"这是一个响应式变量\")\n",
|
||||||
"export function useName() {",
|
"export function useName() {",
|
||||||
"\tconst refName2 = ref<string>(\"这是一个响应式变量\")\n",
|
"\tconst refName2 = ref<string>(\"这是一个响应式变量\")\n",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user