uni_android_plugin_project
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
464 B

  1. <template>
  2. <div>
  3. <myText ref="telText" tel="12305" style="width:200;height:100" @onTel="onTel" @click="myTextClick"></myText>
  4. </div>
  5. </template>
  6. <script>
  7. export default {
  8. data() {
  9. return {
  10. }
  11. },
  12. onLoad() {
  13. },
  14. methods: {
  15. onTel(e) {
  16. console.log("onTel="+e.detail.tel);
  17. },
  18. myTextClick(e) {
  19. this.$refs.telText.clearTel();
  20. }
  21. }
  22. }
  23. </script>