parent
c3c6e5e3de
commit
5aa93f37c7
4 changed files with 37 additions and 44 deletions
@ -1,5 +1,5 @@ |
||||
# 变量必须以 VITE_ 为前缀才能暴露给外部读取 |
||||
NODE_ENV = 'development' |
||||
VITE_APP_TITLE = '无糖运营平台' |
||||
# VITE_APP_BASE_API = 'http://127.0.0.1:8080' |
||||
VITE_APP_BASE_API = 'http://39.106.16.162:8080' |
||||
VITE_APP_BASE_API = 'http://127.0.0.1:8080' |
||||
# VITE_APP_BASE_API = 'http://39.106.16.162:8080' |
||||
|
@ -1,23 +0,0 @@ |
||||
<template> |
||||
<div> |
||||
<button @click="toggle">点击折叠/展开</button> |
||||
<div v-if="isExpanded"> |
||||
<!-- 折叠内容 --> |
||||
</div> |
||||
</div> |
||||
</template> |
||||
|
||||
<script setup> |
||||
export default { |
||||
data() { |
||||
return { |
||||
isExpanded: false, |
||||
} |
||||
}, |
||||
methods: { |
||||
toggle() { |
||||
this.isExpanded = !this.isExpanded |
||||
}, |
||||
}, |
||||
} |
||||
</script> |
Loading…
Reference in new issue