Browse Source

隐藏控制台输出

master
liaoxinyu 2 years ago
parent
commit
96063f66a1
  1. 6
      components/tf-verify-img/tf-verify-img.vue
  2. 2
      components/uni-swipe-action-item/mpother.js
  3. 2
      components/uni-swipe-action-item/mpwxs.js
  4. 4
      layout/vDropdwon.vue
  5. 2
      pages/assets/recharge.vue
  6. 4
      pages/assets/records.vue
  7. 2
      pages/auth/senior.vue
  8. 2
      pages/base/mine.vue
  9. 2
      pages/currency/list.vue
  10. 2
      pages/exchange/contract-history.vue
  11. 2
      pages/exchange/contractHis.vue
  12. 2
      pages/income/index.vue
  13. 10
      pages/login/index.vue
  14. 2
      pages/otc/bind-pay.vue
  15. 4
      pages/purchase/bill.vue
  16. 4
      pages/reg/index.vue
  17. 2
      pages/safe/forget-password.vue
  18. 2
      pages/safe/phone.vue
  19. 2
      pages/service/index.vue
  20. 4
      pages/service/otc.vue
  21. 4
      pages/service/service.vue
  22. 2
      plugins/datafeed.js
  23. 2
      plugins/method.js
  24. 2
      static/chart_main/chart_main/huobi.js
  25. 2
      static/chart_main/chart_main/old-datafeed.js
  26. 4
      static/chart_main/chart_main/sevencoin.js
  27. 2
      static/chart_main/chart_main/ws.js
  28. 2
      static/chart_main/huobi.js
  29. 2
      static/chart_main/old-datafeed.js
  30. 6
      static/chart_main/sevencoin.js
  31. 4
      uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue
  32. 2
      utils/vendor/upload.js

6
components/tf-verify-img/tf-verify-img.vue

@ -43,7 +43,7 @@
created() { created() {
this.canvasW = uni.upx2px(580); this.canvasW = uni.upx2px(580);
this.canvasH = uni.upx2px(290); this.canvasH = uni.upx2px(290);
console.log("created"); // console.log("created");
}, },
mounted() { mounted() {
this.$nextTick(()=>{ this.$nextTick(()=>{
@ -76,12 +76,12 @@
}); });
return; return;
} }
console.log("init"); // console.log("init");
this.canvasX2--; this.canvasX2--;
this.canvasX = 0; this.canvasX = 0;
this.verifyIndex = this.randomNum(0,this.verifyImgs.length-1); this.verifyIndex = this.randomNum(0,this.verifyImgs.length-1);
this.ctx = uni.createCanvasContext('tf-verify-canvas',this); this.ctx = uni.createCanvasContext('tf-verify-canvas',this);
console.log(this.ctx); // console.log(this.ctx);
this.jgX = this.randomNum(uni.upx2px(150),uni.upx2px(450)); this.jgX = this.randomNum(uni.upx2px(150),uni.upx2px(450));
this.dqImgPath = this.verifyImgs[this.verifyIndex].src; this.dqImgPath = this.verifyImgs[this.verifyIndex].src;
this.huatu(); this.huatu();

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

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

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

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

4
layout/vDropdwon.vue

@ -58,7 +58,7 @@ export default {
leverShow:{ leverShow:{
deep: true, deep: true,
handler:function(newVal,oldVal) { handler:function(newVal,oldVal) {
console.log(newVal, '下拉组件leverShow更新'); // console.log(newVal, 'leverShow');
this.$nextTick(() => { this.$nextTick(() => {
this.text=this.list[newVal].label; this.text=this.list[newVal].label;
}) })
@ -67,7 +67,7 @@ export default {
list:{ list:{
deep: true, deep: true,
handler:function(newVal,oldVal) { handler:function(newVal,oldVal) {
console.log(newVal, '下拉组件list更新'); // console.log(newVal, 'list');
if(this.contract==1&&this.list){ if(this.contract==1&&this.list){
this.text=this.list[1].label this.text=this.list[1].label
}else if(this.contract==0&&this.list){ }else if(this.contract==0&&this.list){

2
pages/assets/recharge.vue

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

4
pages/assets/records.vue

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

2
pages/auth/senior.vue

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

2
pages/base/mine.vue

@ -439,7 +439,7 @@
Profile.getAuthInfo().then(res => { Profile.getAuthInfo().then(res => {
this.ProfileDetail = res.data; this.ProfileDetail = res.data;
this.user_auth_level = res.data.primary_status this.user_auth_level = res.data.primary_status
console.log(this.ProfileDetail, 11111); // console.log(this.ProfileDetail, 11111);
}) })
}, },
}, },

2
pages/currency/list.vue

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

2
pages/exchange/contract-history.vue

@ -303,7 +303,7 @@ export default {
generalizeInfo() { generalizeInfo() {
Profile.qrcode().then((res) => { Profile.qrcode().then((res) => {
this.detail = res.data; 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) { holdPosition(boo) {
console.log(this.checked,this.symbolLeft,boo) // console.log(this.checked,this.symbolLeft,boo)
let data = { let data = {
symbol: (this.checked && this.symbolLeft) || "", symbol: (this.checked && this.symbolLeft) || "",
}; };

2
pages/income/index.vue

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

10
pages/login/index.vue

@ -173,14 +173,14 @@ export default {
}, },
// //
toLogin() { toLogin() {
console.log(this.isRember); // console.log(this.isRember);
if(this.isRember==true){ if(this.isRember==true){
console.log('1111'); // console.log('1111');
sessionStorage.setItem("isRember",this.isRember) sessionStorage.setItem("isRember",this.isRember)
sessionStorage.setItem("account1",this.form.account+"rew") sessionStorage.setItem("account1",this.form.account+"rew")
sessionStorage.setItem("password1",this.form.password+"45623") sessionStorage.setItem("password1",this.form.password+"45623")
}else{ }else{
console.log('2222'); // console.log('2222');
this.isRember==false this.isRember==false
sessionStorage.setItem("isRember",this.isRember) sessionStorage.setItem("isRember",this.isRember)
sessionStorage.removeItem("account1"); sessionStorage.removeItem("account1");
@ -213,7 +213,7 @@ export default {
}); });
}, },
loginVer(data) { loginVer(data) {
console.log(data) // console.log(data)
this.secondaryShow = true; this.secondaryShow = true;
this.secondaryData = data; this.secondaryData = data;
this.form2.signature = data.signature; this.form2.signature = data.signature;
@ -248,7 +248,7 @@ export default {
mounted() { mounted() {
const name = sessionStorage.getItem("isRember") const name = sessionStorage.getItem("isRember")
if(name == 'true'){ if(name == 'true'){
console.log('3333'); // console.log('3333');
const account1 = sessionStorage.getItem("account1") const account1 = sessionStorage.getItem("account1")
const password1 = sessionStorage.getItem("password1") const password1 = sessionStorage.getItem("password1")
this.form.account = account1.substring(0, account1.length - 3); this.form.account = account1.substring(0, account1.length - 3);

2
pages/otc/bind-pay.vue

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

4
pages/purchase/bill.vue

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

4
pages/reg/index.vue

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

2
pages/safe/forget-password.vue

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

2
pages/safe/phone.vue

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

2
pages/service/index.vue

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

4
pages/service/otc.vue

@ -48,7 +48,7 @@ export default {
}, },
android(){ android(){
// #ifdef APP-PLUS // #ifdef APP-PLUS
console.log(plus.os.name) // console.log(plus.os.name)
return plus.os.name return plus.os.name
// #endif // #endif
} }
@ -57,7 +57,7 @@ export default {
}, },
onLoad(a) { onLoad(a) {
console.log(a) // console.log(a)
} }
}; };
</script> </script>

4
pages/service/service.vue

@ -61,11 +61,11 @@
Member.serviceDetail({ Member.serviceDetail({
id: this.query.id, id: this.query.id,
}).then((res) => { }).then((res) => {
console.log(res) // console.log(res)
this.detail = res.data; this.detail = res.data;
}); });
Member.contact({}).then((res) => { Member.contact({}).then((res) => {
console.log(res); // console.log(res);
this.contacts = res.data; this.contacts = res.data;
}) })
}, },

2
plugins/datafeed.js

@ -3,7 +3,7 @@ class Datafeed {
this.self = vm; this.self = vm;
} }
onReady(callback) { onReady(callback) {
console.log('onReady') // console.log('onReady')
var _this = this; var _this = this;
return new Promise(function (resolve) { return new Promise(function (resolve) {
var configuration = _this.defaultConfiguration(); var configuration = _this.defaultConfiguration();

2
plugins/method.js

@ -57,7 +57,7 @@ vue.prototype.$back = (num = 1) => {
let arr2 = arr.map(item=>{ let arr2 = arr.map(item=>{
return item.route; return item.route;
}) })
console.log(arr,'页面栈路由', arr2); // console.log(arr,'页面栈路由', arr2);
if(arr.length===1){ if(arr.length===1){
history.back(); history.back();
}else{ }else{

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); }, 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"]; var B = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
e.log = function () { 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) { }, e.inherits = n(838), e._extend = function (t, e) {
if (!e || !S(e)) return t; if (!e || !S(e)) return t;
for (var n = Object.keys(e), r = n.length; r--;) t[n[r]] = e[n[r]]; 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) { Datafeeds.UDFCompatibleDatafeed.prototype._logMessage = function(message) {
if (this._enableLogging) { if (this._enableLogging) {
var now = new Date(); 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() { createMsg() {
console.log(this.contract) // console.log(this.contract)
console.log(`swapKline_${this.symbolName}_${this.resolution(this.interval)}`) // console.log(`swapKline_${this.symbolName}_${this.resolution(this.interval)}`)
if (this.contract) { if (this.contract) {
return `swapKline_${this.symbolName}_${this.resolution(this.interval)}` return `swapKline_${this.symbolName}_${this.resolution(this.interval)}`
} else { } else {

2
static/chart_main/chart_main/ws.js

@ -101,7 +101,7 @@ var Ws = /*#__PURE__*/function () {
this._msgs = []; this._msgs = [];
this.socket.close({ this.socket.close({
success: function success() { success: function success() {
console.log('socket close success'); // console.log('socket close success');
} }
}); });
} // 添加监听 } // 添加监听

2
static/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); }, 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"]; var B = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
e.log = function () { 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) { }, e.inherits = n(838), e._extend = function (t, e) {
if (!e || !S(e)) return t; if (!e || !S(e)) return t;
for (var n = Object.keys(e), r = n.length; r--;) t[n[r]] = e[n[r]]; for (var n = Object.keys(e), r = n.length; r--;) t[n[r]] = e[n[r]];

2
static/chart_main/old-datafeed.js

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

6
static/chart_main/sevencoin.js

@ -204,7 +204,7 @@ $(function () {
} }
showKlineQuoter(time) { showKlineQuoter(time) {
$('iframe').mousemove(function(e){ $('iframe').mousemove(function(e){
console.log('0000') // console.log('0000')
}); });
if (this.tvBars.length === 0) return; if (this.tvBars.length === 0) return;
const {from, to} = this.TView.chart().getVisibleRange(); const {from, to} = this.TView.chart().getVisibleRange();
@ -463,8 +463,8 @@ $(function () {
} }
// 生成订阅数据 // 生成订阅数据
createMsg() { createMsg() {
console.log(this.contract) // console.log(this.contract)
console.log(`swapKline_${this.symbolName}_${this.resolution(this.interval)}`) // console.log(`swapKline_${this.symbolName}_${this.resolution(this.interval)}`)
if (this.contract) { if (this.contract) {
return `swapKline_${this.symbolName}_${this.resolution(this.interval)}` return `swapKline_${this.symbolName}_${this.resolution(this.interval)}`
} else { } else {

4
uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue

@ -595,7 +595,7 @@ export default {
if (val) { if (val) {
this.emitMsg({name: 'error', params: {type:"error", errorShow: this.errorShow, msg: val, id: this.cid}}); this.emitMsg({name: 'error', params: {type:"error", errorShow: this.errorShow, msg: val, id: this.cid}});
if(this.errorShow){ if(this.errorShow){
console.log('[秋云图表组件]' + val); // console.log('[]' + val);
} }
} }
}, },
@ -1318,7 +1318,7 @@ export default {
if (option.series) { if (option.series) {
for (let i in option.series) { for (let i in option.series) {
let linearGradient = "#FFFFFF" let linearGradient = "#FFFFFF"
console.log(linearGradient) // console.log(linearGradient)
if (linearGradient) { if (linearGradient) {
option.series[i].color = new echarts.graphic.LinearGradient(linearGradient[0],linearGradient[1],linearGradient[2],linearGradient[3],linearGradient[4]) option.series[i].color = new echarts.graphic.LinearGradient(linearGradient[0],linearGradient[1],linearGradient[2],linearGradient[3],linearGradient[4])
} }

2
utils/vendor/upload.js

@ -113,7 +113,7 @@ class Upload {
// 验证大小 // 验证大小
ins.checkSize(); ins.checkSize();
console.log(ins.errno); // console.log(ins.errno);
// 验证不通过 则直接触发reject // 验证不通过 则直接触发reject
console.log() console.log()
if (ins.error) throw new Error(ins.errno); if (ins.error) throw new Error(ins.errno);

Loading…
Cancel
Save