(id)
| 113 | } |
| 114 | |
| 115 | async function initProxyPackFunc (id){ |
| 116 | // 进来重新请求pack接口 替换header里面的数据 避免切换用户数据为旧数据 |
| 117 | const { data } = await initProxyPack({ id }) |
| 118 | return data.header |
| 119 | } |
| 120 | async function initTemplate() { |
| 121 | // 根据url传来的参数选择模板 |
| 122 | const res ={"msg":"查询成功","code":200,"data":{"id":"6b62be22860ae9e2fc06dab73d67a3ea","createTime":"2021-06-18 16:13:23","updateTime":null,"name":"空白模板","preview":null,"previewId":null,"backgroundId":null,"extend":{"description":""},"type":0,"_public":0,"source":1,"componentList":[]}} |
no test coverage detected