<script>
export default {
setup() {
}
created() {
}
}
</script>
当我更改为使用脚本设置语法时,如何使用创建的钩子?
<setup script>
// how to use created hook ?
</script> Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号