flx:修改文本域最大长度限制
This commit is contained in:
parent
954d7ab392
commit
1c8421f7d7
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@ -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>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user