Commit c2ede9b3 by caoyanzhi

fix: 修复bug

parent eec4e27b
......@@ -104,7 +104,7 @@
<template v-if="transferLink.type != 2">
<el-input-number v-model="transferLink.dayNum" :min="getMin" :max="getMax" controls-position="right" style="width: 90px"></el-input-number>
<span class="transfer-link-uint"></span>
<span class="transfer-link-tip">{{ transferLink.type == 0 ? `不能大于${getMax}天` : `大于${getMin}天` }}</span>
<span class="transfer-link-tip">{{ transferLink.type == 0 ? `不能大于${getMax}天` : `大于${getMin - 1}天` }}</span>
</template>
<p class="transfer-link-tip">长期有效链接(>31天,包含永久有效链接)每个小程序只支持十万,建议商品详情/礼品详情等非永久页面生成短期有效链接(≤31天)。</p>
</el-form-item>
......@@ -286,7 +286,8 @@ export default {
.finally(() => (this.loading = false));
},
onInsert() {
this.form.content = `${this.form.content} ${this.insertLink.link}`;
// 链接插入短信中需要前后有一个空格
this.form.content = `${this.form.content} ${this.insertLink.link} `;
this.insertLink.show = false;
this.reduceLink.show = false;
this.transferLink.show = false;
......
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