系统功能板块setup改造完成

This commit is contained in:
piexlmax
2021-12-30 20:48:57 +08:00
parent 512e91e2bc
commit 8c2b6b2bc0
7 changed files with 563 additions and 534 deletions
@@ -5,15 +5,13 @@
</template>
<script>
var path = import.meta.env.VITE_BASE_PATH
var port = import.meta.env.VITE_SERVER_PORT
export default {
name: 'FormGenerator',
data() {
return {
basePath: path,
basePort: port
}
}
name: 'FormGenerator'
}
</script>
<script setup>
import { ref } from 'vue'
const basePath = ref(import.meta.env.VITE_BASE_PATH)
const basePort = ref(import.meta.env.VITE_SERVER_PORT)
</script>