mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 21:57:56 +08:00
5.0
This commit is contained in:
12
sop-admin/sop-admin-frontend/src/views/isv/list/isvGroup.ts
Normal file
12
sop-admin/sop-admin-frontend/src/views/isv/list/isvGroup.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
// options推荐写法
|
||||
// 1. 定义一个 `ref`数组
|
||||
import { type Ref, ref } from "vue";
|
||||
import { type OptionsRow } from "plus-pro-components";
|
||||
|
||||
const groupList: Ref<OptionsRow[]> = ref([]);
|
||||
// 2. 异步函数获取到值赋值到 `ref`
|
||||
const loadGroup = async () => {
|
||||
//
|
||||
console.log(groupList);
|
||||
};
|
||||
loadGroup();
|
Reference in New Issue
Block a user