!1927 JsComponentsCollection input输入,正则输入,删除内容后输入,正则失效

Merge pull request !1927 from guojin30/master
This commit is contained in:
openharmony_ci 2022-11-29 08:06:35 +00:00 committed by Gitee
commit ca1fbc64cf
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 3 additions and 4 deletions

View File

@ -11,7 +11,7 @@
使用说明:
1.启动Share应用首页展示分享跳转页面点击分享安妮u出现自定义分享弹窗三方APP的
1.启动Share应用首页展示分享跳转页面点击分享按钮出现自定义分享弹窗三方APP的
2.点击分享文本+链接,选择"Chat"图标,会拉起三方应用[Chat](https://gitee.com/openharmony/applications_app_samples/blob/master/AppSample/Chat)
,此时选择[聊天列表](https://gitee.com/openharmony/applications_app_samples/blob/master/AppSample/Chat/entry/src/main/ets/MainAbility/pages/Index.ets)
@ -56,5 +56,4 @@ Studio中替换具体操作可参考[替换指南](https://gitee.com/openharm
5.本示例涉及相关权限为system_core级别相关权限级别可通过[权限定义列表](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/security/permission-list.md)
查看), 需要手动配置高级别的权限签名(
具体操作可查看[自动化签名方案](https://developer.harmonyos.com/cn/docs/documentation/doc-guides/ohos-auto-configuring-signature-information-0000001271659465))
具体操作可查看[自动化签名方案](https://developer.harmonyos.com/cn/docs/documentation/doc-guides/ohos-auto-configuring-signature-information-0000001271659465))。

View File

@ -41,7 +41,7 @@ export default {
changeRegular(regularObj) {
if (regularObj.value) {
this.inputRegularValue= ''
this.inputRegularValue= regularObj.value
this.inputRegularValue = regularObj.value.replace(/[^\a-\z\A-\Z]/g, '')
}
},