🎨 完善订单页和用户页

This commit is contained in:
2025-09-02 20:32:26 +08:00
parent 9bf02628eb
commit f3ac0bb511
5 changed files with 23 additions and 18 deletions

View File

@@ -6,7 +6,7 @@
<script setup>
import { ref } from 'vue'
import { routerName } from '@/plugin/customerservice/api/api.js'
const data = ref({})
@@ -14,12 +14,7 @@ defineOptions({
name: 'CustomerService'
})
const useApi = async() =>{
const res = await routerName(data.value)
if(res.code === 0){
console.log(res.data)
}
}
</script>

View File

@@ -6,22 +6,12 @@
<script setup>
import { ref } from 'vue'
import { routerName } from '@/plugin/picturelibrary/api/api.js'
const data = ref({})
defineOptions({
name: 'PictureLibrary'
})
const useApi = async() =>{
const res = await routerName(data.value)
if(res.code === 0){
console.log(res.data)
}
}
</script>
<style lang="scss" scoped>
.picturelibrary {