fanfan 6 months ago
commit a5025ea9c4
  1. 2
      src/global.less
  2. 6
      src/views/store/shop/Create.vue
  3. 6
      src/views/store/shop/Update.vue

@ -369,7 +369,7 @@ span.ant-radio+* {
}
.edui-editor {
width: 800px!important;
width: 100%!important;
.edui-editor-iframeholder {
width: 100%!important;
}

@ -109,13 +109,13 @@
<a-form-item label="备注" :labelCol="labelCol" :wrapperCol="wrapperCol">
<div>
<template v-for="(tag, index) in tags">
<template v-for="tag in tags">
<a-tooltip v-if="tag.length > 20" :key="tag" :title="tag">
<a-tag :key="tag" :closable="index !== 0" @close="() => handleCloseTag(tag)">
<a-tag :key="tag" closable @close="() => handleCloseTag(tag)">
{{ `${tag.slice(0, 20)}...` }}
</a-tag>
</a-tooltip>
<a-tag v-else :key="tag" :closable="index !== 0" @close="() => handleCloseTag(tag)">
<a-tag v-else :key="tag" closable @close="() => handleCloseTag(tag)">
{{ tag }}
</a-tag>
</template>

@ -113,13 +113,13 @@
<a-form-item label="备注" :labelCol="labelCol" :wrapperCol="wrapperCol">
<div>
<template v-for="(tag, index) in tags">
<template v-for="tag in tags">
<a-tooltip v-if="tag.length > 20" :key="tag" :title="tag">
<a-tag :key="tag" :closable="index !== 0" @close="() => handleCloseTag(tag)">
<a-tag :key="tag" closable @close="() => handleCloseTag(tag)">
{{ `${tag.slice(0, 20)}...` }}
</a-tag>
</a-tooltip>
<a-tag v-else :key="tag" :closable="index !== 0" @close="() => handleCloseTag(tag)">
<a-tag v-else :key="tag" closable @close="() => handleCloseTag(tag)">
{{ tag }}
</a-tag>
</template>

Loading…
Cancel
Save