flx:修改文本域最大长度限制

This commit is contained in:
Rain_ 2025-05-13 16:17:16 +08:00
parent 954d7ab392
commit 1c8421f7d7
2 changed files with 5 additions and 4 deletions

View File

@ -245,7 +245,7 @@
//
console.log(file)
const url = file.url ? (file.url.includes("http://") ? file.url : `${BASE_URL}/image/${file.url}`) : `${BASE_URL}/image/${file.id}`;
if (isVideoLink(`${url}`) || isImageLink(`${url}`)) {
//
showDisplay.value = true;
@ -267,7 +267,8 @@
//
console.log(file)
const url = file.url ? (file.url.includes("http://") ? file.url : `${BASE_URL}/image/${file.url}`) : `${BASE_URL}/image/${file.id}`;
console.log(url)
console.log(isImageLink(`${url}`))
if (isVideoLink(`${url}`) || isImageLink(`${url}`)) {
//
showDisplay.value = true;
@ -395,7 +396,7 @@
font-size: 0;
.iframe {
width: 100%;
width: 90vw;
height: 1000rpx;
}
}

View File

@ -1,5 +1,5 @@
<template>
<uni-easyinput :inputBorder="false" class="w-form-input" v-if="!readonly" type="textarea" v-model="_value" :placeholder="props.formProps.placeholder || '请输入内容'"/>
<uni-easyinput :inputBorder="false" class="w-form-input" :maxlength="-1" v-if="!readonly" type="textarea" v-model="_value" :placeholder="props.formProps.placeholder || '请输入内容'"/>
<text class="w-form-input-rv" v-else>{{_value}}</text>
</template>