style: 格式化代码

This commit is contained in:
少轻狂
2023-08-14 23:27:19 +08:00
parent e515ece5aa
commit 016f606769
7 changed files with 327 additions and 232 deletions

View File

@@ -1,20 +1,20 @@
<template>
<div class="download">
<button @click='download()'>📎下载附件代码</button>
<button @click="download()">📎下载附件代码</button>
</div>
</template>
<script setup>
import { defineProps } from 'vue'
import { defineProps } from "vue";
const url = defineProps({
url: {
type: String,
default: ''
}
})
default: "",
},
});
const download = () => {
window.open(url.url)
}
window.open(url.url);
};
</script>
<style scoped>