AppWorks icon indicating copy to clipboard operation
AppWorks copied to clipboard

type 为 vue 的物料发布到 flusion 变成了 react

Open berryliu opened this issue 2 years ago • 0 comments

插件名/Extension: appworks

您的本地环境信息

  • 操作系统及其版本/ window 10
  • Node version: v12.13.0
  • npm version: v6.12.0

您遇到的问题及复现步骤/What are your problems and how to reproduce them

本地 npm run generate 生成的 materials.json type 是 vue

{
  "template": "@icedesign/ice-vue-material-template",
  "type": "vue",
  "fusion-site": {
    "id": 19985,
    "name": "xxx",
    "url": "https://fusion.design/api/v1/sites/19985/materials"
  },
  // ...
}

发布到 fusion 后 type 变成 react

{
    type: "react",
    blocks: [
      {
        appId: null,
        baseUrl: "https://mc.fusion.design/unpkg/@zv-vue-materials/[email protected]/",
        browses: 13,
        bu: null,
        //...
       }
    ]
}

您期待的正确结果/The right result you're looking forward to

  • 期望 type 能保持一致
  • 期望能完全支持 vue

berryliu avatar Jun 17 '22 01:06 berryliu