mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-09-24 13:03:30 +08:00
完善新建和编辑命令功能
This commit is contained in:
@@ -276,7 +276,17 @@ export default {
|
||||
},
|
||||
// 编辑命令
|
||||
editCommand() {
|
||||
console.log(this.commandInfo);
|
||||
let routeData = {
|
||||
from: "configuration",
|
||||
action: "edit",
|
||||
data: this.commandInfo,
|
||||
};
|
||||
this.$router.push({
|
||||
name: "code",
|
||||
params: {
|
||||
data: JSON.stringify(routeData),
|
||||
},
|
||||
});
|
||||
},
|
||||
// 运行命令
|
||||
runCommand() {
|
||||
|
Reference in New Issue
Block a user