Browse Source

隐藏控制台输出

master
liaoxinyu 2 years ago
parent
commit
b3e261f1a1
  1. 2
      api/serve/index.js
  2. 2
      components/uni-swipe-action-item/mpother.js
  3. 2
      components/uni-swipe-action-item/mpwxs.js
  4. 4
      pages/assets/draw.vue
  5. 2
      pages/assets/recharge.vue
  6. 4
      pages/assets/records.vue
  7. 4
      pages/auth/primary.vue
  8. 2
      pages/auth/senior.vue
  9. 6
      pages/base/mine.vue
  10. 2
      pages/currency/list.vue
  11. 2
      pages/exchange/contract-history.vue
  12. 2
      pages/exchange/contractHis.vue
  13. 2
      pages/exchange/exchange-transaction.vue
  14. 2
      pages/exchange/open-position.vue
  15. 6
      pages/exchange/trade-list.vue
  16. 2
      pages/income/index.vue
  17. 4
      pages/login/index.vue
  18. 2
      pages/otc/bind-pay.vue
  19. 4
      pages/purchase/bill.vue
  20. 2
      pages/safe/forget-password.vue
  21. 2
      pages/safe/login-password.vue
  22. 2
      pages/safe/phone.vue
  23. 2
      pages/service/index.vue
  24. 2
      pages/service/otc.vue
  25. 2
      pages/service/service.vue
  26. 2
      pages/transfer/index.vue
  27. 2
      static/chart_main/chart_main/huobi.js
  28. 2
      static/chart_main/chart_main/old-datafeed.js
  29. 4
      static/chart_main/chart_main/sevencoin.js
  30. 19553
      static/chart_main/huobi.js
  31. 2
      utils/class/date.js

2
api/serve/index.js

@ -100,7 +100,7 @@ x.fn = x.prototype = {
dataType: this.dataType,
sslVerify: false,
success: (res) => {
console.info(res)
// console.info(res)
let message = res.data.message
let code = res.data.code
if (code != 200) {

2
components/uni-swipe-action-item/mpother.js

@ -125,7 +125,7 @@ export default {
views
.selectAll('.selector-query-hock')
.boundingClientRect(data => {
console.log(data)
// console.log(data)
this.position.content = data[1]
this.position.button = data[0]
if (this.autoClose) return

2
components/uni-swipe-action-item/mpwxs.js

@ -82,7 +82,7 @@ export default {
// fixed by xxxx 模拟点击事件,解决 ios 13 点击区域错位的问题
let diff = Math.abs(this.clientX - clientX)
let time = (new Date().getTime()) - this.timestamp
console.log(diff);
// console.log(diff);
if (diff < 40 && time < 300) {
// console.log('点击');
this.$emit('click', {

4
pages/assets/draw.vue

@ -455,7 +455,7 @@ export default {
let list = [...this.list, ...res.data.data];//
this.list.splice(0,this.list.length,...list);
// this.list.push(...list);
console.log('length---------------',this.list.length, '页数:',res.data.current_page);
// console.log('length---------------',this.list.length, '',res.data.current_page);
if (res.data.data.length < res.data.per_page) this.loadMore = false;
});
},
@ -479,7 +479,7 @@ export default {
if(res.code==200){
this.hideImg = false;
}
console.log("gc",res.data.img)
// console.log("gc",res.data.img)
this.Graph_che = res.data.img;
});
}

2
pages/assets/recharge.vue

@ -249,7 +249,7 @@ export default {
});
},
change(e){
console.log(e)
// console.log(e)
}
},
created() {

4
pages/assets/records.vue

@ -82,7 +82,7 @@ import formData from "@/utils/class/date";
let list = [...this.list, ...res.data.data];//
this.list.splice(0,this.list.length,...list);
// this.list.push(...list);
console.log('length---------------',this.list.length, '页数:',res.data.current_page);
// console.log('length---------------',this.list.length, '',res.data.current_page);
if (res.data.data.length < res.data.per_page) this.loadMore = false;
});
},
@ -107,7 +107,7 @@ import formData from "@/utils/class/date";
},
},
onLoad(e) {
console.log('---------',e);
// console.log('---------',e);
this.type = e.type;
if(e.type=='draw'){
this.getWithdrawRecords();

4
pages/auth/primary.vue

@ -149,7 +149,7 @@ export default {
primaryAuth() {
let data = this.form;
data.country_code = this.activeCountry.country_code;
console.log(data);
// console.log(data);
if(!data.realname){
uni.showToast({
title: this.$t('auth.b0'),
@ -201,7 +201,7 @@ export default {
}).catch(()=>{});
},
changeID(e){
console.log(e);
// console.log(e);
this.form.identification_type = this.id_range[e].text;
}
},

2
pages/auth/senior.vue

@ -150,7 +150,7 @@ export default {
});
},
getFile(name) {
console.log(name)
// console.log(name)
this.$getFile({count: 9}).then((res) => {
this.upLoadImg(res, name);
})

6
pages/base/mine.vue

@ -397,9 +397,9 @@ export default {
// this.detail = res.data
this.status = res.data.status
this.user_auth_level = res.data.primary_status
console.log(this.status, '9999')
console.log(res.data, '8888')
console.log(this.user_auth_level, '7777')
// console.log(this.status, '9999')
// console.log(res.data, '8888')
// console.log(this.user_auth_level, '7777')
})
},
onRefresh() {

2
pages/currency/list.vue

@ -78,7 +78,7 @@ export default {
},
},
onLoad(query) {
console.log(this.list)
// console.log(this.list)
},
};
</script>

2
pages/exchange/contract-history.vue

@ -303,7 +303,7 @@ export default {
generalizeInfo() {
Profile.qrcode().then((res) => {
this.detail = res.data;
console.log(this.detail)
// console.log(this.detail)
});
},
//

2
pages/exchange/contractHis.vue

@ -298,7 +298,7 @@ export default {
);
},
holdPosition(boo) {
console.log(this.checked,this.symbolLeft,boo)
// console.log(this.checked,this.symbolLeft,boo)
let data = {
symbol: (this.checked && this.symbolLeft) || "",
};

2
pages/exchange/exchange-transaction.vue

@ -712,7 +712,7 @@ export default {
},
//
sliderChange(n,i) {
console.log(n,i,'-------');
// console.log(n,i,'-------');
let num = n/100;
// this.sliderActive=i;//--
this.sliderActive=n;//--,

2
pages/exchange/open-position.vue

@ -1577,7 +1577,7 @@ export default {
this.margin = (this.form.amount / this.form.lever_rate).toFixed(5)
},
pingChange(n, i) {
console.log(n)
// console.log(n)
this.pingAmount = Math.round((this.activeItem.avail_position * n) / 100);
this.pingActive = i
},

6
pages/exchange/trade-list.vue

@ -609,7 +609,7 @@ export default {
},
//
holdPosition() {
console.log(1)
// console.log(1)
var market=this.symbol.split('/')[0]
let data = {
symbol: market,
@ -838,13 +838,13 @@ export default {
}
},
mounted() {
console.log(1)
// console.log(1)
if (this.symbol) {
this.holdPosition()
this.getMarketInfo();
this.contractAccount();
this.getSymbolDetail();
console.log(4)
// console.log(4)
}
this.socketMessage();
this.dtime = setInterval(() => {

2
pages/income/index.vue

@ -143,7 +143,7 @@ export default {
uni.getSystemInfo({
success: function (res) {
this.windowHeight=60
console.log(this.windowHeight)
// console.log(this.windowHeight)
}
});
},

4
pages/login/index.vue

@ -185,7 +185,7 @@ export default {
});
},
loginVer(data) {
console.log(data)
// console.log(data)
this.secondaryShow = true;
this.secondaryData = data;
this.form2.signature = data.signature;
@ -217,7 +217,7 @@ export default {
},
},
mounted() {
console.log(this.marketList)
// console.log(this.marketList)
},
};

2
pages/otc/bind-pay.vue

@ -150,7 +150,7 @@ export default {
},
onLoad(query) {
this.query = query
console.log(this.query)
// console.log(this.query)
this.getList();
},
methods: {

4
pages/purchase/bill.vue

@ -75,9 +75,9 @@ export default {
let data = {
page: this.page,
};
console.log(over)
// console.log(over)
Wallet.subscribeRecords(data).then((res) => {
console.log(res)
// console.log(res)
if (res.data.current_page == 1) this.list = [];
this.list = [...this.list, ...res.data.data];
over && over({ finished: res.data.data.length < res.data.per_page });

2
pages/safe/forget-password.vue

@ -179,7 +179,7 @@ export default {
if(res.code==200){
this.hideImg = false;
}
console.log("gc",res.data.img)
// console.log("gc",res.data.img)
this.Graph_che = res.data.img;
this.form.gc_key= res.data.key;
});

2
pages/safe/login-password.vue

@ -116,7 +116,7 @@ export default {
if(res.code==200){
this.hideImg = false;
}
console.log("gc",res.data.img)
// console.log("gc",res.data.img)
this.Graph_che = res.data.img;
this.gc_key= res.data.key;
});

2
pages/safe/phone.vue

@ -77,7 +77,7 @@ export default {
setUserInfo: "setUserInfo",
}),
changePhone() {
console.log(this.$refs.country)
// console.log(this.$refs.country)
this.form.country_code = this.$refs.country&&this.$refs.country.country_code;
if (!this.user.phone && !this.form.phone) {
this.$toast(this.$t('safe.d5'));

2
pages/service/index.vue

@ -47,7 +47,7 @@ export default {
},
android(){
// #ifdef APP-PLUS
console.log(plus.os.name)
// console.log(plus.os.name)
return plus.os.name
// #endif
}

2
pages/service/otc.vue

@ -48,7 +48,7 @@ export default {
},
android(){
// #ifdef APP-PLUS
console.log(plus.os.name)
// console.log(plus.os.name)
return plus.os.name
// #endif
}

2
pages/service/service.vue

@ -68,7 +68,7 @@ export default {
// this.detail = res.data;
// });
Member.contact({}).then((res)=>{
console.log(res);
// console.log(res);
this.contacts = res.data;
})
},

2
pages/transfer/index.vue

@ -189,7 +189,7 @@ export default {
}else{
this.tag = 1
}
console.log( this.accountMap )
// console.log( this.accountMap )
},
//
fundsTransfer() {

2
static/chart_main/chart_main/huobi.js

@ -5465,7 +5465,7 @@
}, e.isArray = p, e.isBoolean = v, e.isNull = g, e.isNullOrUndefined = m, e.isNumber = _, e.isString = y, e.isSymbol = b, e.isUndefined = w, e.isRegExp = x, e.isObject = S, e.isDate = E, e.isError = k, e.isFunction = T, e.isPrimitive = C, e.isBuffer = n(839);
var B = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
e.log = function () {
console.log("%s - %s", P(), e.format.apply(e, arguments))
// console.log("%s - %s", P(), e.format.apply(e, arguments))
}, e.inherits = n(838), e._extend = function (t, e) {
if (!e || !S(e)) return t;
for (var n = Object.keys(e), r = n.length; r--;) t[n[r]] = e[n[r]];

2
static/chart_main/chart_main/old-datafeed.js

@ -82,7 +82,7 @@ Datafeeds.UDFCompatibleDatafeed.prototype.onInitialized = function() {
Datafeeds.UDFCompatibleDatafeed.prototype._logMessage = function(message) {
if (this._enableLogging) {
var now = new Date();
console.log(now.toLocaleTimeString() + '.' + now.getMilliseconds() + '> ' + message);
// console.log(now.toLocaleTimeString() + '.' + now.getMilliseconds() + '> ' + message);
}
};

4
static/chart_main/chart_main/sevencoin.js

@ -432,8 +432,8 @@ $(function () {
}
// 生成订阅数据
createMsg() {
console.log(this.contract)
console.log(`swapKline_${this.symbolName}_${this.resolution(this.interval)}`)
// console.log(this.contract)
// console.log(`swapKline_${this.symbolName}_${this.resolution(this.interval)}`)
if (this.contract) {
return `swapKline_${this.symbolName}_${this.resolution(this.interval)}`
} else {

19553
static/chart_main/huobi.js

File diff suppressed because one or more lines are too long

2
utils/class/date.js

@ -64,7 +64,7 @@ function parseTime(time, isOffset = false, cformat = null) {
s: date.getSeconds(),
a: date.getDay()
};
console.log(date);
// console.log(date);
// 星期值需要转化为中文
dataObj.a = '星期' + ['日', '一', '二', '三', '四', '五', '六'][dataObj.a];

Loading…
Cancel
Save