mirror of
https://gitee.com/openharmony/applications_app_samples
synced 2024-11-27 02:30:43 +00:00
!1927 JsComponentsCollection input输入,正则输入,删除内容后输入,正则失效
Merge pull request !1927 from guojin30/master
This commit is contained in:
commit
ca1fbc64cf
@ -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))。
|
@ -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, '')
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user