docs(Numeric): [examples] add the description of change-compat for change event (#1521)

This commit is contained in:
AcWrong02 2024-04-02 16:16:39 +08:00 committed by GitHub
parent 016bdb2795
commit 89c8bd9d37
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 2 deletions

View File

@ -142,8 +142,10 @@ export default {
'en-US': 'Value change event'
},
desc: {
'zh-CN': '<p> 可通过<code>@change</code>设置监听数值改变事件。</p>\n',
'en-US': 'The <code>@change</code> event is triggered when the value of the text box is changed. </p>\n'
'zh-CN':
'<p> 可通过<code>@change</code>设置监听数值改变事件。当<code>change-compat</code>为false时仅当加减按钮及直接输入数值时会触发<code>change</code>事件。 </p>\n',
'en-US':
'The <code>@change</code> event is triggered when the value of the text box is changed. When the<code>change compat</code>is false, the <code>change</code> event will be triggered when only the add and subtract buttons and directly entering numerical values are used.</p>\n'
},
codeFiles: ['change-event.vue']
},