增加群相册功能,长按朋友圈文字可以复制
This commit is contained in:
@@ -20,6 +20,9 @@ module.exports = (vm) => {
|
||||
token:uni.getStorageSync("BusinessToken"),
|
||||
operationID: uuidV4(),
|
||||
};
|
||||
if(typeof config.data === 'object'){
|
||||
config.data = JSON.stringify(config.data);
|
||||
};
|
||||
// 可以在此通过vm引用vuex中的变量,具体值在vm.$store.state中
|
||||
return config;
|
||||
},
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
module.exports = (vm) => {
|
||||
uni.$u.http.interceptors.response.use((response) => {
|
||||
if(vm.REQUEST_TRACE){
|
||||
if(vm.REQUEST_TRACE || response.config?.data.trace){
|
||||
console.log("\n-"
|
||||
+"\n============================================================="
|
||||
+"\nurl:"+response.config.fullPath
|
||||
|
||||
Reference in New Issue
Block a user