瀏覽代碼

fix(api/demo): fix typo (#2808)

Peng Peidong 1 年之前
父節點
當前提交
31d44ad372
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/api/demo/model/optionsModel.ts

+ 2 - 2
src/api/demo/model/optionsModel.ts

@@ -1,8 +1,8 @@
 import { BasicFetchResult } from '/@/api/model/baseModel';
 
 export interface DemoOptionsItem {
-  label: string;
-  value: string;
+  name: string;
+  id: string;
 }
 
 export interface selectParams {