更新地址
This commit is contained in:
parent
23d4dd0eb5
commit
1abc2660c2
@ -205,7 +205,7 @@
|
||||
v-model:file-list="fileList"
|
||||
:headers="{ Token: userStore.token }"
|
||||
class="upload-demo"
|
||||
action="https://worker-task.lihaink.cn/adminapi/upload/file"
|
||||
:action="base_url + '/upload/file'"
|
||||
multiple
|
||||
:limit="1"
|
||||
:on-success="handleAvatarSuccess_three"
|
||||
@ -215,7 +215,7 @@
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
import { reactive, ref } from "vue";
|
||||
import { reactive, ref, inject } from "vue";
|
||||
import { leaseUpContract, leaseContractDetail } from "@/api/contract";
|
||||
import useUserStore from "@/stores/modules/user";
|
||||
const userStore = useUserStore();
|
||||
@ -251,6 +251,8 @@ const formData = reactive({
|
||||
update_time: "2023-08-31 14:26:49",
|
||||
reject_message: "",
|
||||
});
|
||||
|
||||
const base_url = inject("base_url");
|
||||
// route.query.flag
|
||||
// console.log(route.query.id);
|
||||
// leaseContractDetail({ id: route.query.id }).then((res) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user