Sfoglia il codice sorgente

补充缺少的类型定义接口IPaperType

Signed-off-by: Hans <hans_wen@163.com>
Hans 1 anno fa
parent
commit
4e032a941e
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. 6 0
      Web/src/views/system/print/component/hiprint/index.vue

+ 6 - 0
Web/src/views/system/print/component/hiprint/index.vue

@@ -129,6 +129,12 @@ import PrintPreview from './preview.vue';
 import printDataDefault from './print-data';
 import { IPaperType } from './type';
 
+interface IPaperType{
+    type:string;
+    width:number;
+    height:number;
+}
+
 var props = defineProps({
 	modeIndex: {
 		type: Number,