mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-12-20 02:47:30 +08:00
重构代码结构、数据传递方式,方便数据存取
This commit is contained in:
@@ -58,10 +58,6 @@ export default {
|
||||
type: Object,
|
||||
required: true,
|
||||
},
|
||||
isCollapsed: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
},
|
||||
emits: [
|
||||
"update:outputVariable",
|
||||
@@ -90,6 +86,9 @@ export default {
|
||||
this.command.commandType === this.command.commandChain?.slice(-1)[0]
|
||||
);
|
||||
},
|
||||
isCollapsed() {
|
||||
return this.command.isCollapsed;
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user