Browse Source

隐藏控制台输出

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

6
api/serve/index.js

@ -82,7 +82,7 @@ x.fn = x.prototype = {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
let reg=new RegExp('/','g')//g代表全部 let reg=new RegExp('/','g')//g代表全部
let newMsg=options.url.replace(reg,'_'); let newMsg=options.url.replace(reg,'_');
console.info(newMsg) // console.info(newMsg)
if(Cache.get(newMsg).data){ if(Cache.get(newMsg).data){
if(newMsg!='_user_walletImage'&& newMsg!='_user_getAuthInfo' && newMsg!='_user_withdrawalBalance' if(newMsg!='_user_walletImage'&& newMsg!='_user_getAuthInfo' && newMsg!='_user_withdrawalBalance'
&& newMsg!='_wallet_getBalance' && newMsg!='_contract_getMarketInfo'&& newMsg!='_contract_openNum' && newMsg!='_wallet_getBalance' && newMsg!='_contract_getMarketInfo'&& newMsg!='_contract_openNum'
@ -100,7 +100,7 @@ x.fn = x.prototype = {
dataType: this.dataType, dataType: this.dataType,
sslVerify: false, sslVerify: false,
success: (res) => { success: (res) => {
console.info(res) // console.info(res)
let message = res.data.message let message = res.data.message
let code = res.data.code let code = res.data.code
if (code != 200) { if (code != 200) {
@ -144,7 +144,7 @@ x.fn = x.prototype = {
} }
}, },
fail: (err) => { fail: (err) => {
console.log(err) // console.log(err)
reject(err) reject(err)
if (config.toast !== false) { if (config.toast !== false) {
// uni.showToast({ // uni.showToast({

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', {

2
layout/vHeader.vue

@ -38,7 +38,7 @@ export default {
}, },
methods: { methods: {
onClickLeft() { onClickLeft() {
console.info(this.leftClick) // console.info(this.leftClick)
if (this.leftClick) { if (this.leftClick) {
this.leftClick(); this.leftClick();
} else { } else {

4
pages/assets/draw.vue

@ -455,7 +455,7 @@ export default {
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;
}); });
}, },
@ -479,7 +479,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;
}); });
} }

2
pages/assets/recharge.vue

@ -249,7 +249,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();

6
pages/auth/primary.vue

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

4
pages/auth/senior.vue

@ -129,7 +129,7 @@ export default {
getCountryCode() { getCountryCode() {
Member.getCountryCode() Member.getCountryCode()
.then((res) => { .then((res) => {
console.info(res) // console.info(res)
this.countryList = res.data; this.countryList = res.data;
this.form.country_id = this.countryList[res.data.length - 1].id; this.form.country_id = this.countryList[res.data.length - 1].id;
}) })
@ -150,7 +150,7 @@ export default {
}); });
}, },
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);
}) })

8
pages/base/mine.vue

@ -386,7 +386,7 @@ export default {
}, },
filters: { filters: {
priceDecimals(val) { priceDecimals(val) {
console.info(val); // console.info(val);
return (parseFloat(val)).toFixed(2) return (parseFloat(val)).toFixed(2)
} }
}, },
@ -397,9 +397,9 @@ export default {
// this.detail = res.data // this.detail = res.data
this.status = res.data.status this.status = res.data.status
this.user_auth_level = res.data.primary_status this.user_auth_level = res.data.primary_status
console.log(this.status, '9999') // console.log(this.status, '9999')
console.log(res.data, '8888') // console.log(res.data, '8888')
console.log(this.user_auth_level, '7777') // console.log(this.user_auth_level, '7777')
}) })
}, },
onRefresh() { onRefresh() {

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/exchange/exchange-transaction.vue

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

2
pages/exchange/his.vue

@ -131,7 +131,7 @@ export default {
}, },
watch:{ watch:{
tab(n){ tab(n){
console.log(n) // console.log(n)
} }
}, },
methods: { methods: {

14
pages/exchange/open-position.vue

@ -1044,8 +1044,8 @@ export default {
// ); // );
// }, // },
amount() { amount() {
console.info(this.form.lever_rate) // console.info(this.form.lever_rate)
console.info(this.margin) // console.info(this.margin)
if (!this.form.lever_rate || !this.margin) return 0; if (!this.form.lever_rate || !this.margin) return 0;
let p = this.margin * this.form.lever_rate; let p = this.margin * this.form.lever_rate;
p = p.toFixed(0) p = p.toFixed(0)
@ -1443,7 +1443,7 @@ export default {
this.buyList = res.data.swapBuyList; this.buyList = res.data.swapBuyList;
this.tradeList = res.data.swapTradeList; this.tradeList = res.data.swapTradeList;
this.newPrice = this.tradeList[0] || {}; this.newPrice = this.tradeList[0] || {};
console.info(this.newPrice) // console.info(this.newPrice)
this.form.entrust_price = this.newPrice.price; this.form.entrust_price = this.newPrice.price;
this.linkSocket(data.symbol); this.linkSocket(data.symbol);
}); });
@ -1477,7 +1477,7 @@ export default {
symbol: this.symbolLeft, symbol: this.symbolLeft,
}; };
Contract.getSymbolDetail(data).then((res) => { Contract.getSymbolDetail(data).then((res) => {
console.info('res.data', res.data.default_lever, res.data.lever_rage) // console.info('res.data', res.data.default_lever, res.data.lever_rage)
this.unit_amount = res.data.unit_amount; this.unit_amount = res.data.unit_amount;
this.lever_rage = res.data.lever_rage.map((item) => ({ this.lever_rage = res.data.lever_rage.map((item) => ({
@ -1561,7 +1561,7 @@ export default {
} }
Contract.openPosition(data, {btn}).then(() => { Contract.openPosition(data, {btn}).then(() => {
this.$toast(this.$t("contract.g2")); this.$toast(this.$t("contract.g2"));
console.info(this.form.type) // console.info(this.form.type)
if (this.form.type == 1) { if (this.form.type == 1) {
this.holdPosition() this.holdPosition()
} else { } else {
@ -1572,14 +1572,14 @@ export default {
}); });
}, },
sliderChange(n, i) { sliderChange(n, i) {
console.info(n, i) // console.info(n, i)
this.form.amount = Math.round((this.maxNum * n) / 100); this.form.amount = Math.round((this.maxNum * n) / 100);
this.sliderActive = i this.sliderActive = i
this.sliderActive1 = n this.sliderActive1 = n
this.margin = (this.form.amount / this.form.lever_rate).toFixed(5) this.margin = (this.form.amount / this.form.lever_rate).toFixed(5)
}, },
pingChange(n, i) { pingChange(n, i) {
console.log(n) // console.log(n)
this.pingAmount = Math.round((this.activeItem.avail_position * n) / 100); this.pingAmount = Math.round((this.activeItem.avail_position * n) / 100);
this.pingActive = i this.pingActive = i
}, },

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)
} }
}); });
}, },

2
pages/index/index.vue

@ -64,7 +64,7 @@ export default {
this.test++; this.test++;
}, },
select($ev) { select($ev) {
console.log($ev); // console.log($ev);
}, },
toPing() { toPing() {
let d = new Date(); let d = new Date();

4
pages/login/index.vue

@ -185,7 +185,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;
@ -217,7 +217,7 @@ export default {
}, },
}, },
mounted() { mounted() {
console.log(this.marketList) // console.log(this.marketList)
}, },
}; };

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: {

6
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 });
@ -85,7 +85,7 @@ export default {
}, },
}, },
created() { created() {
console.info(this.$route) // console.info(this.$route)
this.issue_price=this.$route.query.issue_price this.issue_price=this.$route.query.issue_price
}, },
}; };

2
pages/safe/forget-password.vue

@ -179,7 +179,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;
}); });

4
pages/safe/login-password.vue

@ -102,7 +102,7 @@ export default {
// ¼֤ͼƬ // ¼֤ͼƬ
}) })
.catch(error => { .catch(error => {
console.log(error); // console.log(error);
}); });
}, },
// ͼ֤ // ͼ֤
@ -116,7 +116,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;
}); });

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>

2
pages/service/service.vue

@ -68,7 +68,7 @@ export default {
// 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
pages/wallets/mine.vue

@ -353,7 +353,7 @@ export default {
}, },
filters:{ filters:{
priceDecimals(val){ priceDecimals(val){
console.info(val) // console.info(val)
return (parseFloat(val)).toFixed(2) return (parseFloat(val)).toFixed(2)
} }
}, },

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);
} }
}; };

4
static/chart_main/sevencoin.js

@ -458,8 +458,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
utils/class/date.js

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

Loading…
Cancel
Save