更新
This commit is contained in:
parent
412198358d
commit
ccf30c5dca
@ -5,6 +5,14 @@
|
||||
|
||||
# CHANGE
|
||||
|
||||
## 0.9.8
|
||||
|
||||
2023年06月06日
|
||||
|
||||
### 修改
|
||||
|
||||
- 错误修复
|
||||
|
||||
## 0.9.7
|
||||
|
||||
2023年06月05日
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "wuhu-torn-helper",
|
||||
"version": "0.9.7",
|
||||
"version": "0.9.8",
|
||||
"description": "芜湖助手",
|
||||
"scripts": {
|
||||
"release": "cross-env NODE_ENV=production rollup -c && node build.mjs",
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -284,12 +284,15 @@ const bazaarControl = {
|
||||
} catch (e) {
|
||||
logger.error(e.stack);
|
||||
ElMessage.error(e.message);
|
||||
throw e;
|
||||
}
|
||||
if (response.success) {
|
||||
ElMessage.success({
|
||||
dangerouslyUseHTMLString: true,
|
||||
message: response.text,
|
||||
});
|
||||
} else {
|
||||
ElMessage.error(response.text);
|
||||
}
|
||||
},
|
||||
method: async () => {
|
||||
@ -304,10 +307,10 @@ const bazaarControl = {
|
||||
await bazaarControl.doGet(false);
|
||||
}
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
onMounted(() => {
|
||||
if (window.outerWidth < 800) {
|
||||
if (document.documentElement.scrollWidth < 800) {
|
||||
isMobilePhone.value = true;
|
||||
}
|
||||
});
|
||||
|
||||
@ -21,8 +21,6 @@
|
||||
<el-table :data="itemOnList" style="width: 100%" table-layout="auto">
|
||||
<el-table-column label="卖家">
|
||||
<template #default="scope">
|
||||
<!-- <div style="display: flex; align-items: center"-->
|
||||
<!-- v-text="scope.row.playerName + `[${scope.row.playerId}]`"></div>-->
|
||||
<el-link
|
||||
:href="'/bazaar.php?userId=' + scope.row.playerId" :underline="false"
|
||||
target="_blank"
|
||||
@ -39,11 +37,14 @@
|
||||
<el-table-column label="在售" prop="amount"/>
|
||||
<el-table-column label="批量购买">
|
||||
<template #default="scope">
|
||||
<el-input v-model="scope.row.inputAmount" style="width: 60px;"/>
|
||||
<el-input v-model="scope.row.inputAmount" style="width: 12em">
|
||||
<template #append>
|
||||
<el-button :loading="scope.row.onBuying"
|
||||
type="primary" @click="buy(itemName, itemName2IdMap[itemName], scope.row)">购买
|
||||
</el-button>
|
||||
</template>
|
||||
</el-input>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user