|
|
@@ -46,7 +46,7 @@
|
|
|
<span class="oper-span" v-if="row.status != 0 && row.status != 1" v-pdpath="['edit']" @click="openSceneEdit(row, 0)">
|
|
|
编辑
|
|
|
</span>
|
|
|
- <span v-pdpath="['gen']" v-if="pagging.state.query.searchType != '1' && row.status != 0 && row.status != 1 && row.location != 6" class="oper-span" @click="genMeshScene(row)">
|
|
|
+ <span v-pdpath="['gen']" v-if="pagging.state.query.searchType != '1' && row.status != 0 && row.status != 1 && row.location != 6" class="oper-span" @click="getMeshScene(row)">
|
|
|
生成obj
|
|
|
</span>
|
|
|
<span class="oper-span" v-pdpath="['del']" v-if="pagging.state.query.searchType === '0' && row.status != 0 && row.status != 1" @click="openSceneShareDialog(row)">
|
|
|
@@ -106,9 +106,9 @@ const sceneDownloadHandler = async (scene: QuoteScene) => {
|
|
|
console.log(error)
|
|
|
}
|
|
|
};
|
|
|
-const genMeshScene = async (scene: QuoteScene) => {
|
|
|
+const getMeshScene = async (scene: QuoteScene) => {
|
|
|
if (LocationEnum[scene.location] === "内网") return;
|
|
|
- await genMeshScene({ num: scene.num });
|
|
|
+ await genMeshScene(scene);
|
|
|
props.pagging.refresh();
|
|
|
};
|
|
|
|