mirror of
https://github.com/flipped-aurora/gin-vue-admin.git
synced 2026-10-11 03:49:29 +00:00
系统功能板块setup改造完成
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user