/*
 * @Author: 吴永生 15770852798@163.com
 * @Date: 2022-07-11 11:49:55
 * @LastEditors: 吴永生 15770852798@163.com
 * @LastEditTime: 2022-10-19 16:25:27
 * @FilePath: /bkunyun/src/store/modules/currentProject.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { makeAutoObservable } from "mobx";

export interface IProductOption{
  label: string;
  value: string;
}

class newProductList {
  constructor() {
    makeAutoObservable(this);
  }

 
  // 产品列表
  productList: IProductOption[] = [];
 
  setProductList = (list: IProductOption[]) => {
    this.productList = list;
  };
}

const productListStore = new newProductList();

export default productListStore;
