mirror of
https://gitee.com/niucloud-team/niucloud-admin.git
synced 2025-12-11 02:12:48 +00:00
up
This commit is contained in:
parent
b680807856
commit
026c61700a
@ -3,7 +3,7 @@
|
||||
<div>
|
||||
<div>
|
||||
<template v-if="agreement">
|
||||
<div class="" v-if="agreement.title && agreement.content">
|
||||
<div v-if="agreement.title && agreement.content">
|
||||
<h2 class="text-center">{{ agreement.title }}</h2>
|
||||
<div v-html="agreement.content"></div>
|
||||
</div>
|
||||
|
||||
@ -83,7 +83,7 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { ref,reactive,watch,computed } from 'vue'
|
||||
import { ref,reactive,computed } from 'vue'
|
||||
import { usernameRegister, mobileRegister, wechatCheck } from '@/app/api/auth'
|
||||
import useMemberStore from '@/stores/member'
|
||||
import useConfigStore from '@/stores/config'
|
||||
|
||||
@ -124,7 +124,6 @@ const uploadRef = ref<any>(null)
|
||||
const upload = computed(() => {
|
||||
const headers: Record<string, any> = {}
|
||||
headers.token = getToken()
|
||||
headers['site-id'] = storage.get('siteId') || 1
|
||||
return {
|
||||
action: `${request.options.baseURL}/file/image`,
|
||||
limit: 1,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user