diff --git a/src/api/diy.ts b/src/api/diy.ts index f0ddfeaa..c6b507b4 100644 --- a/src/api/diy.ts +++ b/src/api/diy.ts @@ -45,11 +45,22 @@ interface diy { /** 主键 */ id: string; } +export interface headerAndFooter { + name: string; + show_tabs: string; + key: string; + com_data: any; +} +export interface diyConfig { + diy_data: Array; + footer: headerAndFooter; + header: headerAndFooter; +} export interface diyData { id: string; logo: string; name: string; describe: string; - config: string; + config: diyConfig | string; is_enable: string; } diff --git a/src/components/model-coupon/model-coupon-setting.vue b/src/components/model-coupon/model-coupon-setting.vue index f1961fe0..9be21e89 100644 --- a/src/components/model-coupon/model-coupon-setting.vue +++ b/src/components/model-coupon/model-coupon-setting.vue @@ -9,6 +9,7 @@