You've already forked qlg.frontend
交易规则list
This commit is contained in:
3
js/my.js
3
js/my.js
@ -274,6 +274,9 @@ var localAuthType = localStorage.getItem("authType");
|
||||
$('.mydata-content').on('tap', '.setting', function() {
|
||||
JZL.openWindow('setting.html', 'setting.html')
|
||||
})
|
||||
$('.mydata-content').on('tap', '.tradeRule', function() {
|
||||
JZL.openWindow('trade_rule.html', 'trade_rule.html')
|
||||
})
|
||||
$('.mydata-content').on('tap', '.shoppingcart', function() {
|
||||
JZL.openWindow('shoppingcart_warp.html', 'shoppingcart_warp.html')
|
||||
})
|
||||
|
@ -38,7 +38,12 @@ const app = new Vue({
|
||||
var localData = localStorage.getItem("LOCAL_RULE");
|
||||
this.loadData();
|
||||
if(localData){
|
||||
this.noteData = JSON.parse(localData);
|
||||
try {
|
||||
JSON.parse(localData);
|
||||
this.ruleData = JSON.parse(localData);
|
||||
} catch (e) {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
Reference in New Issue
Block a user