Commit bbf0933d by sunchao

配置文件替换

parent ca779ad8
{ // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
// launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数
"version": "0.0",
"configurations": [{
"app-plus" :
{
"launchtype" : "local"
},
"default" :
{
"launchtype" : "local"
},
"mp-weixin" :
{
"launchtype" : "local"
},
"type" : "uniCloud"
}
{
// launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
// launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数
"version" : "0.0",
"configurations" : [
{
"app-plus" : {
"launchtype" : "local"
},
"default" : {
"launchtype" : "local"
},
"mp-weixin" : {
"launchtype" : "local"
},
"type" : "uniCloud"
},
{
"playground" : "standard",
"type" : "uni-app:app-ios"
}
]
}
......@@ -2,7 +2,7 @@
"name" : "CFFP财富中心",
"appid" : "__UNI__ED34740",
"description" : "",
"versionCode" : "102",
"versionCode" : 104,
"transformPx" : false,
/* 5+App特有相关 */
"app-plus" : {
......
......@@ -337,29 +337,7 @@
housePurchasePrices:[],
resultFlag:false,
planningParams:{},
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'
}
}
]}
option:{}
}
},
components:{
......@@ -375,10 +353,10 @@
},
methods:{
init() {
this.$refs.chart.init(echarts, chart => {
chart.setOption(this.option);
});
},
this.$refs.chart.init(echarts, chart => {
chart.setOption(this.option);
});
},
checkToken(){
api.checkToken().then(res=>{
if(res['success']){}else{
......@@ -517,6 +495,9 @@
}
]
}
this.$refs.chart.init(echarts, chart => {
chart.setOption(this.option);
});
// this.myChart.setOption({
// legend: {},
// grid: {
......@@ -748,9 +729,9 @@
}
},
mounted() {
this.$refs.chart.init(echarts, chart => {
chart.setOption(this.option);
});
// this.$refs.chart.init(echarts, chart => {
// chart.setOption(this.option);
// });
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