点选
This commit is contained in:
@@ -63,6 +63,10 @@
|
||||
$t("Canvas.CreateAndCopy")
|
||||
}}</span>
|
||||
</div>
|
||||
<div class="action-btn" @click="onReset">
|
||||
<svg-icon name="CCut" size="26" />
|
||||
<span class="btn-text">清空当前点位</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -226,12 +230,16 @@
|
||||
|
||||
// 创建
|
||||
function onCreate() {
|
||||
|
||||
props.partManager.createPart();
|
||||
}
|
||||
// 复制并创建
|
||||
function onCopyCreate() {
|
||||
|
||||
}
|
||||
// 清空当前点位
|
||||
function onReset() {
|
||||
props.partManager.clearPart();
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
@@ -410,7 +418,7 @@
|
||||
|
||||
.tool-actions {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 5px;
|
||||
padding: 0 30px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user