优化代码
This commit is contained in:
+4
-1
@@ -21,11 +21,14 @@
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
tools: []
|
||||
tools:[]
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
const app = getApp();
|
||||
const gData = app.globalData;
|
||||
this.getDataByOnline();
|
||||
this.tools = gData.morePageData.tools;
|
||||
},
|
||||
methods: {
|
||||
getDataByOnline() {
|
||||
|
||||
Reference in New Issue
Block a user