图片预览
This commit is contained in:
		| @@ -732,7 +732,7 @@ export default { | ||||
|       }); | ||||
|     }, | ||||
|     handleOnUploadPreview(file) { | ||||
|       console.log(file); | ||||
|       // console.log(file); | ||||
|       this.previewTitle = file.name; | ||||
|       this.previewVisible = true; | ||||
|       this.previewUrl = file.url; | ||||
|   | ||||
| @@ -113,9 +113,8 @@ export default { | ||||
|           left: 100, | ||||
|           itemWidth: 8, | ||||
|           itemHeight: 8, | ||||
|           pageIconSize: 10, | ||||
|           textStyle: { | ||||
|             fontSize: 10, | ||||
|             fontSize: 12, | ||||
|           }, | ||||
|         }, | ||||
|         dataset: { | ||||
|   | ||||
| @@ -144,7 +144,7 @@ export default { | ||||
|           itemHeight: 8, | ||||
|           pageIconSize: 10, | ||||
|           textStyle: { | ||||
|             fontSize: 10, | ||||
|             fontSize: 12, | ||||
|           }, | ||||
|         }, | ||||
|         tooltip: { | ||||
| @@ -173,7 +173,7 @@ export default { | ||||
|           name: this.type === "weight" ? "质量/克" : "热量/千卡", | ||||
|           nameTextStyle: { | ||||
|             color: "#262626", | ||||
|             fontSize: 10, | ||||
|             fontSize: 12, | ||||
|           }, | ||||
|         }, | ||||
|         series: source[0].slice(1).map((name, idx) => ({ | ||||
|   | ||||
| @@ -50,7 +50,7 @@ export default { | ||||
|       this.activeName = tab.name; | ||||
|     }, | ||||
|     handleOnDayClick(data) { | ||||
|       console.log(data); | ||||
|       // console.log(data); | ||||
|       const { id, numDay } = data; | ||||
|       if (this.selectedIgd !== id) { | ||||
|         this.selectedIgd = id; | ||||
|   | ||||
| @@ -90,7 +90,7 @@ export default { | ||||
|         typeName: this.menuTypeDict[type], | ||||
|         values: mData[type], | ||||
|       })); | ||||
|       console.log(mMenus); | ||||
|       // console.log(mMenus); | ||||
|       return mMenus; | ||||
|     }, | ||||
|     ...mapState(["cusUnitDict", "cusWeightDict", "menuTypeDict"]), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user