优化代码

This commit is contained in:
java110 2021-06-23 19:41:39 +08:00
parent f7504cdaed
commit f8af74d42d
2 changed files with 3 additions and 2 deletions

View File

@ -16,6 +16,9 @@
import {
isNull
} from '../../utils/StringUtil.js'
import {getStorageSync} from '../../utils/StorageUtil.js'
import mapping from '../../constant/MappingConstant.js'
export default {
data() {
return {

View File

@ -335,7 +335,6 @@
.then(res=>{
_communityId = res.communityId;
let _url = "/pages/myOrder/myOrder?hcCommunityId="+_communityId+"&mallFrom=HC";
_url = encodeUrl(_url)
uni.navigateTo({
url: '/pages/hcWebView/hcWebView?url='+_url
});
@ -348,7 +347,6 @@
.then(res=>{
_communityId = res.communityId;
let _url = "/pages/homemaking/order?hcCommunityId="+_communityId+"&&mallFrom=HC";
_url = encodeUrl(_url)
uni.navigateTo({
url: '/pages/hcWebView/hcWebView?url='+_url
});