Add docker rename volume tool

This commit is contained in:
2024-09-28 15:16:10 +03:00
parent ee930f96fc
commit f75809c12d
32 changed files with 703 additions and 627 deletions

View File

@ -16,7 +16,7 @@
</template>
<script>
import cronstrue from 'cronstrue';
import cronstrue from "cronstrue";
import MonacoEditor from "@/components/MonacoEditor.vue";
export default {
@ -26,15 +26,15 @@ export default {
data() {
return {
toolData: {
data: '* * * * *',
data: "* * * * *"
},
toolResult: '',
toolResult: ""
};
},
mounted() {
this.toolResult = cronstrue.toString(this.toolData.data, {
use24HourTimeFormat: true,
verbose: true,
verbose: true
});
},
methods: {
@ -42,14 +42,14 @@ export default {
try {
this.toolResult = cronstrue.toString(this.toolData.data, {
use24HourTimeFormat: true,
verbose: true,
verbose: true
});
} catch (e) {
this.toolResult = 'invalid syntax';
this.toolResult = "invalid syntax";
}
},
},
}
}
}
};
</script>
<style lang="scss">