Commit bbf0933d by sunchao

配置文件替换

parent ca779ad8
{ // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/ {
// launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
// launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数 // launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数
"version": "0.0", "version" : "0.0",
"configurations": [{ "configurations" : [
"app-plus" :
{ {
"app-plus" : {
"launchtype" : "local" "launchtype" : "local"
}, },
"default" : "default" : {
{
"launchtype" : "local" "launchtype" : "local"
}, },
"mp-weixin" : "mp-weixin" : {
{
"launchtype" : "local" "launchtype" : "local"
}, },
"type" : "uniCloud" "type" : "uniCloud"
},
{
"playground" : "standard",
"type" : "uni-app:app-ios"
} }
] ]
} }
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"name" : "CFFP财富中心", "name" : "CFFP财富中心",
"appid" : "__UNI__ED34740", "appid" : "__UNI__ED34740",
"description" : "", "description" : "",
"versionCode" : "102", "versionCode" : 104,
"transformPx" : false, "transformPx" : false,
/* 5+App特有相关 */ /* 5+App特有相关 */
"app-plus" : { "app-plus" : {
......
...@@ -337,29 +337,7 @@ ...@@ -337,29 +337,7 @@
housePurchasePrices:[], housePurchasePrices:[],
resultFlag:false, resultFlag:false,
planningParams:{}, planningParams:{},
option:{ option:{}
legend: {},
grid: {
left: '20%', // 调整这个属性
},
xAxis: {
data: [1,2,3],
axisTick:{//坐标轴刻度相关设置。
show: false,
},
},
yAxis: {},
series: [
{
name:'',
data: [3,2,1],
type: 'bar',
label:{
show:true,
position:'inside'
}
}
]}
} }
}, },
components:{ components:{
...@@ -517,6 +495,9 @@ ...@@ -517,6 +495,9 @@
} }
] ]
} }
this.$refs.chart.init(echarts, chart => {
chart.setOption(this.option);
});
// this.myChart.setOption({ // this.myChart.setOption({
// legend: {}, // legend: {},
// grid: { // grid: {
...@@ -748,9 +729,9 @@ ...@@ -748,9 +729,9 @@
} }
}, },
mounted() { mounted() {
this.$refs.chart.init(echarts, chart => { // this.$refs.chart.init(echarts, chart => {
chart.setOption(this.option); // chart.setOption(this.option);
}); // });
this.checkToken(); this.checkToken();
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment