增加proto-gen-ts 修改proto文件权限

This commit is contained in:
Yuan 2023-05-30 14:21:28 +08:00
parent 2a58dbfc29
commit cb881a0cf9
5 changed files with 14 additions and 4 deletions

View File

@ -36,6 +36,7 @@
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-vue": "^9.0.0",
"prettier": "^2.5.1",
"protoc-gen-ts": "^0.8.6",
"typescript": "^4.5.4"
},
"engines": {

View File

View File

@ -56,10 +56,10 @@ message CommonInfo {
message Link {
CommonInfo common = 1;
string code = 2;
bool curve = 3; // 线
int32 segmentsCount = 4; // 线
int32 lineWidth = 5; // 线
string lineColor = 6; // 线
bool curve = 3; // 线
int32 segmentsCount = 4; // 线
int32 lineWidth = 5; // 线
string lineColor = 6; // 线
repeated Point points = 7; //
}
@ -67,3 +67,5 @@ message IscsFan {
CommonInfo common = 1;
string code = 2;
}
message Turnout {}

View File

@ -197,5 +197,7 @@ export function loadDrawDatas(app: GraphicApp) {
datas.push(new IscsFanData(fan));
});
app.loadGraphic(datas);
} else {
app.loadGraphic([]);
}
}

View File

@ -2668,6 +2668,11 @@ process-nextick-args@~2.0.0:
resolved "https://registry.npmmirror.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2"
integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==
protoc-gen-ts@^0.8.6:
version "0.8.6"
resolved "https://registry.npmmirror.com/protoc-gen-ts/-/protoc-gen-ts-0.8.6.tgz#e789a6fc3fbe09bdc119acecc349b9554ec5940e"
integrity sha512-66oeorGy4QBvYjQGd/gaeOYyFqKyRmRgTpofmnw8buMG0P7A0jQjoKSvKJz5h5tNUaVkIzvGBUTRVGakrhhwpA==
proxy-addr@~2.0.7:
version "2.0.7"
resolved "https://registry.npmmirror.com/proxy-addr/-/proxy-addr-2.0.7.tgz#f19fe69ceab311eeb94b42e70e8c2070f9ba1025"