Commit f79fe5cf authored by Xuguangxing's avatar Xuguangxing

'fix'

parent 662c1fae
...@@ -190,6 +190,7 @@ export default { ...@@ -190,6 +190,7 @@ export default {
const [res] = await qiNiuApi.getQiniuToken(); const [res] = await qiNiuApi.getQiniuToken();
const token = res.token; const token = res.token;
let skuName = ''; let skuName = '';
// 将每个字符套入行内标签,用于解决canvas fillText的不换行问题
const originSkuName = sharePicData.skuName || ''; const originSkuName = sharePicData.skuName || '';
for (let i = 0; i < originSkuName.length; i++) { for (let i = 0; i < originSkuName.length; i++) {
skuName += `<span>${originSkuName[i]}</span>`; skuName += `<span>${originSkuName[i]}</span>`;
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
:disabled="disabled" :disabled="disabled"
type="primary" type="primary"
block block
@click="createOrJoin(1)" @click="createOrJoin(2)"
> >
立即开团 立即开团
</cr-button> </cr-button>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment