121212
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
统一配置中心
|
||||
*/
|
||||
export class BaseConfig {
|
||||
public static BaseUrl: string = 'https://localhost:7198'
|
||||
public static BaseMediaUrl: string = 'https://localhost:7198/'
|
||||
// public static BaseUrl:string="http://kx.iyba.cn:5291";
|
||||
// public static BaseMediaUrl:string="http://kx.iyba.cn:5291";
|
||||
// public static BaseUrl: string = 'https://localhost:7198'
|
||||
// public static BaseMediaUrl: string = 'https://localhost:7198/'
|
||||
public static BaseUrl:string="http://kx.iyba.cn:5291";
|
||||
public static BaseMediaUrl:string="http://kx.iyba.cn:5291";
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="content">
|
||||
[{{ data.code }}]{{ data.name }}({{ data.lev }}级)
|
||||
[{{ data.code }}]{{ data.name }}({{ lev }}级)
|
||||
</div>
|
||||
<div class="content" v-if="taskState == 100">
|
||||
当前任务已暂停,等待任务更新!
|
||||
@@ -36,6 +36,7 @@ const talkMsg = ref('');
|
||||
const taskState = ref(-1);
|
||||
const toGoods = ref(0);
|
||||
const retGoods = ref(0);
|
||||
const lev = ref(1);
|
||||
let taskId = PageExtend.QueryString("id");
|
||||
let npcId = LocalStorageHelper.GetOnNpc();
|
||||
onMounted(async () => {
|
||||
@@ -57,6 +58,7 @@ const BindData = async (): Promise<void> => {
|
||||
taskState.value = result.data.taskState;
|
||||
toGoods.value = result.data.toGoods;
|
||||
retGoods.value = result.data.retGoods;
|
||||
lev.value =result.data.lev;
|
||||
verifyData.value = data.value.result;
|
||||
needs.value = verifyData.value.needs;
|
||||
taskId = data.value.itemId;
|
||||
|
||||
Reference in New Issue
Block a user