优化代码
This commit is contained in:
@@ -158,9 +158,7 @@ export default {
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
.tool-elem {
|
||||
.content {
|
||||
max-width: 30rem;
|
||||
}
|
||||
.content {
|
||||
max-width: 30rem;
|
||||
}
|
||||
</style>
|
||||
|
@@ -70,26 +70,24 @@ export default {
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
.tool-elem {
|
||||
.content {
|
||||
max-width: 40rem;
|
||||
.content {
|
||||
max-width: 40rem;
|
||||
|
||||
> div {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
margin: 0.5rem 0;
|
||||
}
|
||||
> div {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
margin: 0.5rem 0;
|
||||
}
|
||||
|
||||
.label {
|
||||
display: inline-block;
|
||||
flex-shrink: 0;
|
||||
width: 5rem;
|
||||
}
|
||||
.label {
|
||||
display: inline-block;
|
||||
flex-shrink: 0;
|
||||
width: 5rem;
|
||||
}
|
||||
|
||||
.el-input {
|
||||
margin: 0 0.5rem;
|
||||
}
|
||||
.el-input {
|
||||
margin: 0 0.5rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
@@ -93,7 +93,7 @@ export default {
|
||||
window.eval(this.input.value);
|
||||
|
||||
} catch (err) {
|
||||
|
||||
|
||||
let time = new Date();
|
||||
|
||||
output.id += 1;
|
||||
|
Reference in New Issue
Block a user