hookehuyr

fix

...@@ -698,7 +698,7 @@ export default { ...@@ -698,7 +698,7 @@ export default {
698 org_type_columns: [] 698 org_type_columns: []
699 } 699 }
700 }, 700 },
701 - // mixins: [mixin.init], 701 + mixins: [mixin.init],
702 // onLoad (options) { 702 // onLoad (options) {
703 //options.参数名就可以取到 703 //options.参数名就可以取到
704 // if (options.type === 'edit') { 704 // if (options.type === 'edit') {
......
1 <!-- 1 <!--
2 * @Date: 2022-09-19 14:11:06 2 * @Date: 2022-09-19 14:11:06
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2022-10-18 14:28:15 4 + * @LastEditTime: 2022-10-18 14:44:50
5 * @FilePath: /swx/src/pages/index/index.vue 5 * @FilePath: /swx/src/pages/index/index.vue
6 * @Description: 首页 6 * @Description: 首页
7 --> 7 -->
...@@ -30,7 +30,6 @@ import Taro from '@tarojs/taro' ...@@ -30,7 +30,6 @@ import Taro from '@tarojs/taro'
30 import { ref, onMounted } from 'vue'; 30 import { ref, onMounted } from 'vue';
31 import activityCard from '@/components/activity-card.vue' 31 import activityCard from '@/components/activity-card.vue'
32 import navbar from '@/components/navbar.vue' 32 import navbar from '@/components/navbar.vue'
33 -import Taro from '@tarojs/taro'
34 33
35 onMounted(async () => { 34 onMounted(async () => {
36 }) 35 })
......
1 /* 1 /*
2 * @Date: 2022-09-19 14:11:06 2 * @Date: 2022-09-19 14:11:06
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2022-10-17 09:31:22 4 + * @LastEditTime: 2022-10-18 15:02:01
5 * @FilePath: /swx/src/utils/request.js 5 * @FilePath: /swx/src/utils/request.js
6 * @Description: 简单axios封装,后续按实际处理 6 * @Description: 简单axios封装,后续按实际处理
7 */ 7 */
...@@ -36,7 +36,7 @@ service.interceptors.request.use( ...@@ -36,7 +36,7 @@ service.interceptors.request.use(
36 * POST PHP需要修改数据格式 36 * POST PHP需要修改数据格式
37 * 序列化POST请求时需要屏蔽上传相关接口,上传相关接口序列化后报错 37 * 序列化POST请求时需要屏蔽上传相关接口,上传相关接口序列化后报错
38 */ 38 */
39 - config.data = config.method === 'post' && !strExist(['a=upload', 'upload.qiniup.com'], config.url) ? qs.stringify(config.data) : config.data; 39 + // config.data = config.method === 'post' && !strExist(['a=upload', 'upload.qiniup.com'], config.url) ? qs.stringify(config.data) : config.data;
40 return config 40 return config
41 }, 41 },
42 error => { 42 error => {
......