system-phone 3.0.9 → 3.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "system-phone",
3
- "version": "3.0.9",
3
+ "version": "3.0.10",
4
4
  "description": "手机模块 前端组件",
5
5
  "author": "何宁社 <524395609@qq.com>",
6
6
  "license": "ISC",
@@ -48,7 +48,7 @@
48
48
  data () {
49
49
  return {
50
50
  loginname: Vue.user.name,
51
- f_voiceSwitch:HostApp.getPreference('f_voiceSwitch').data
51
+ f_voiceSwitch:true
52
52
  }
53
53
  },
54
54
  props: {
@@ -92,8 +92,10 @@
92
92
  }else{
93
93
  switch (HostApp.getPreference('f_voiceSwitch').data){
94
94
  case 'true' : HostApp.setPreference('f_voiceSwitch','false')
95
+ this.f_voiceSwitch= true
95
96
  break
96
97
  case 'false' : HostApp.setPreference('f_voiceSwitch','true')
98
+ this.f_voiceSwitch= false
97
99
  break
98
100
  default : HostApp.setPreference('f_voiceSwitch','true')
99
101
  }