File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
examples/sites/demos/pc/app/input
packages/vue/src/input/src Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import { ref } from 'vue'
9
9
import { TinyInput } from ' @opentiny/vue'
10
10
11
11
const input = ref (
12
- ' 表单文本域开启只读模式,文本内容超过 5 行自动隐藏。表单文本域开启只读模式,文本内容超过 5 行自动隐藏。表单文本域开启只读模式,文本内容超过 5 行自动隐藏。表单文本域开启只读模式,文本内容超过 5 行自动隐藏。表单文本域开启只读模式,文本内容超过 5 行自动隐藏'
12
+ ' 表单文本域开启只读模式,\n 文本内容超过 5 行自动隐藏。\n 表单文本域开启只读模式, \n 文本内容超过 5 行自动隐藏。\n 表单文本域开启只读模式, \n 文本内容超过 5 行自动隐藏。\n 表单文本域开启只读模式, \n 文本内容超过 5 行自动隐藏。\n 表单文本域开启只读模式, \n 文本内容超过 5 行自动隐藏'
13
13
)
14
14
</script >
15
15
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export default {
14
14
data () {
15
15
return {
16
16
input:
17
- ' 表单文本域开启只读模式,文本内容超过 5 行自动隐藏。表单文本域开启只读模式,文本内容超过 5 行自动隐藏。表单文本域开启只读模式,文本内容超过 5 行自动隐藏。表单文本域开启只读模式,文本内容超过 5 行自动隐藏。表单文本域开启只读模式,文本内容超过 5 行自动隐藏'
17
+ ' 表单文本域开启只读模式,\n 文本内容超过 5 行自动隐藏。\n 表单文本域开启只读模式, \n 文本内容超过 5 行自动隐藏。\n 表单文本域开启只读模式, \n 文本内容超过 5 行自动隐藏。\n 表单文本域开启只读模式, \n 文本内容超过 5 行自动隐藏。\n 表单文本域开启只读模式, \n 文本内容超过 5 行自动隐藏'
18
18
}
19
19
}
20
20
}
Original file line number Diff line number Diff line change 193
193
:append-to-body =" true"
194
194
@update:visible =" state.showDisplayOnlyBox = $event"
195
195
>
196
- <div >{{ state.displayOnlyText }}</div >
196
+ <pre >{{ state.displayOnlyText }}</pre >
197
197
<template #footer >
198
198
<tiny-button @click =" state.showDisplayOnlyBox = false" >{{ t('ui.input.close') }}</tiny-button >
199
199
</template >
You can’t perform that action at this time.
0 commit comments