수정정
This commit is contained in:
parent
c3d22b3e4f
commit
09afafdab1
@ -29,6 +29,7 @@
|
|||||||
v-model="item.url"
|
v-model="item.url"
|
||||||
:is-essential="false"
|
:is-essential="false"
|
||||||
class="mb-1"
|
class="mb-1"
|
||||||
|
:maxlength="maxLength"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="d-flex justify-content align-items-center mt-3">
|
<div class="d-flex justify-content align-items-center mt-3">
|
||||||
@ -62,6 +63,7 @@ const contentAlerts = ref([false, false]);
|
|||||||
const titleAlert = ref(false);
|
const titleAlert = ref(false);
|
||||||
const title = ref('');
|
const title = ref('');
|
||||||
const rink = ref('');
|
const rink = ref('');
|
||||||
|
const maxLength = ref(2000);
|
||||||
const { itemList, addItem, removeItem } = voteCommon(true);
|
const { itemList, addItem, removeItem } = voteCommon(true);
|
||||||
const total = computed(() => props.total + itemList.value.length);
|
const total = computed(() => props.total + itemList.value.length);
|
||||||
const isSaveDisabled = computed(() => {
|
const isSaveDisabled = computed(() => {
|
||||||
|
|||||||
@ -10,7 +10,12 @@
|
|||||||
@change="handleChange"
|
@change="handleChange"
|
||||||
>
|
>
|
||||||
{{ data.LOCVOTCON }}
|
{{ data.LOCVOTCON }}
|
||||||
<a v-if="data.LOCVOTLIK" :href="data.LOCVOTLIK.startsWith('http') ? data.LOCVOTLIK : 'http://' + data.LOCVOTLIK" class="d-block text-truncate" target="_blank" rel="noopener noreferrer">
|
<a :style="{ maxWidth: (data.LOCVOTLIK.length * 1) + 'ch' }"
|
||||||
|
v-if="data.LOCVOTLIK"
|
||||||
|
:href="data.LOCVOTLIK.startsWith('http') ? data.LOCVOTLIK : 'http://' + data.LOCVOTLIK"
|
||||||
|
class="text-truncate"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer">
|
||||||
{{ data.LOCVOTLIK }}
|
{{ data.LOCVOTLIK }}
|
||||||
</a>
|
</a>
|
||||||
</label>
|
</label>
|
||||||
@ -51,11 +56,15 @@ const handleChange = (event) => {
|
|||||||
}
|
}
|
||||||
emit("update:selectedValues", updatedValues);
|
emit("update:selectedValues", updatedValues);
|
||||||
};
|
};
|
||||||
|
const preventLinkMove = (event) =>{
|
||||||
|
event.preventDefault();
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
a {
|
a {
|
||||||
max-width: 500px; /* 원하는 너비로 조정 */
|
display: block; /* 링크 텍스트에만 영역 적용 */
|
||||||
|
max-width: 500px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
|||||||
@ -57,6 +57,7 @@
|
|||||||
v-model="item.url"
|
v-model="item.url"
|
||||||
:is-essential="false"
|
:is-essential="false"
|
||||||
class="mb-1"
|
class="mb-1"
|
||||||
|
:maxlength="maxLength"
|
||||||
/>
|
/>
|
||||||
<!-- <link-input v-model="item.url" class="mb-1"/> -->
|
<!-- <link-input v-model="item.url" class="mb-1"/> -->
|
||||||
</div>
|
</div>
|
||||||
@ -129,7 +130,7 @@ const { itemList, addItem, removeItem } = voteCommon();
|
|||||||
const userListTotal = ref(0);
|
const userListTotal = ref(0);
|
||||||
const addvoteitem = ref(false);
|
const addvoteitem = ref(false);
|
||||||
const addvotemulti= ref(false);
|
const addvotemulti= ref(false);
|
||||||
|
const maxLength = ref(2000);
|
||||||
const dateInput = ref(null);
|
const dateInput = ref(null);
|
||||||
|
|
||||||
const focusDateInput = () => {
|
const focusDateInput = () => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user