瀏覽代碼

使用原生手机拍照,优化企业微信拍照模糊问题

zhujindu 8 月之前
父節點
當前提交
4c6c0b8b72
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/views/week/systemSettings.vue

+ 3 - 0
src/views/week/systemSettings.vue

@@ -17,6 +17,7 @@
 <script>
 import { mapState } from 'vuex';
 import { setPhotoMethod } from '@/api/week';
+import store from '@/store';
 export default {
   name: 'systemSettings',
   computed: {
@@ -41,6 +42,8 @@ export default {
         this.toastLoading().clear();
         if (res.code == 200) {
           this.$toast('设置成功');
+          // 获取移动端获取用户信息接口
+          store.dispatch('getUserInfo');
         }
       });
     },