link调整
This commit is contained in:
parent
b6979421e8
commit
5857d594d4
@ -9,7 +9,8 @@
|
||||
/>
|
||||
<q-input
|
||||
outlined
|
||||
v-model="sectionLinkModel.code"
|
||||
v-model.number="sectionLinkModel.index"
|
||||
type="number"
|
||||
@blur="onUpdate"
|
||||
label="编号"
|
||||
/>
|
||||
|
@ -430,7 +430,9 @@ export async function loadDrawDatas(app: GraphicApp) {
|
||||
datas.push(new SeparatorData(separator));
|
||||
});
|
||||
storage.sectionLinks.forEach((sectionLink) => {
|
||||
sectionLink.index = parseInt(sectionLink.code);
|
||||
if (sectionLink.code) {
|
||||
sectionLink.index = parseInt(sectionLink.code);
|
||||
}
|
||||
datas.push(new SectionLinkData(sectionLink));
|
||||
});
|
||||
storage.axleCountingSections.forEach((axleCountingSection) => {
|
||||
|
Loading…
Reference in New Issue
Block a user