Browse Source

测试本地存储

xiuli.gao 2 years ago
parent
commit
14cef73fa1

+ 1 - 1
qwh5/config/index.js

@@ -9,7 +9,7 @@ module.exports = {
9 9
   },
10 10
   development: {
11 11
     baseURL: '/api',
12
-    mockURL: 'http://dj.wenxingshuju.com'
12
+    mockURL: 'http://duanju.wenxingshuju.com'
13 13
   },
14 14
   production: {
15 15
     baseURL: '',

File diff suppressed because it is too large
+ 1 - 1
qwh5/dist/css/userPortrait.de194b5a.css


File diff suppressed because it is too large
+ 1 - 1
qwh5/dist/index.html


File diff suppressed because it is too large
+ 0 - 1
qwh5/dist/js/app.6724be5f.js


File diff suppressed because it is too large
+ 1 - 0
qwh5/dist/js/app.a5b956e2.js


File diff suppressed because it is too large
+ 1 - 1
qwh5/dist/js/userPortrait.f4570f43.js


+ 0 - 3
qwh5/src/views/userPortrait.vue

@@ -147,7 +147,6 @@ import { Dialog,Toast } from 'vant';
147 147
 import getWxConfig from '@/utils/getWxConfig';
148 148
 import {ref, reactive, onBeforeMount, getCurrentInstance} from "vue";
149 149
 import { getQueryString } from '@/utils/common'
150
-import { setLocal,getLocal } from '@/utils/storage'
151 150
 export default {
152 151
   components: {
153 152
     noData,
@@ -188,7 +187,6 @@ export default {
188 187
       // pageLoading.value = true;
189 188
       // get_data_init()
190 189
       // return;
191
-      alert(getLocal('configInfo'))
192 190
       if(getQueryString('againJump')){
193 191
         configInfo.corpid = getQueryString('corpid')
194 192
         getWxConfig(()=>{
@@ -360,7 +358,6 @@ export default {
360 358
           if(res.err_msg == "getCurExternalContact:ok"){
361 359
             configInfo.external_userid = res.userId;
362 360
             getUserInfoFlag.value = true
363
-            setLocal('configInfo',JSON.stringify(configInfo))
364 361
             resolve('')
365 362
           }else {
366 363
             getUserInfoFlag.value = false