props.js 694 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. import { defineProps } from '../../libs/util/props';
  2. export default defineProps('wxAuth', {
  3. show: {
  4. type: Boolean,
  5. default: false
  6. },
  7. logo: {
  8. type: String,
  9. default: ''
  10. },
  11. title: {
  12. type: String,
  13. default: ''
  14. },
  15. appName: {
  16. type: String,
  17. default: ''
  18. },
  19. showHeader:{
  20. type: Boolean,
  21. default: true
  22. },
  23. content: {
  24. type: String,
  25. default: '获取您的昵称、头像'
  26. },
  27. tips: {
  28. type: String,
  29. default: '以便为您提供更优质的服务'
  30. },
  31. round:{
  32. type: [Number, String],
  33. default: 10
  34. },
  35. closeable:{
  36. type: Boolean,
  37. default: true
  38. },
  39. maskCloseable:{
  40. type: Boolean,
  41. default: false
  42. },
  43. confirmText: {
  44. type: String,
  45. default: '保存'
  46. }
  47. })