每周更新
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<div class="product-machine-add">
|
||||
<div class="header">
|
||||
<el-button type="text" @click="handleBack">返回</el-button>
|
||||
<h2 class="title">添加出售机器</h2>
|
||||
<h2 class="title">创建商品</h2>
|
||||
</div>
|
||||
|
||||
<!-- <el-alert
|
||||
@@ -10,8 +10,8 @@
|
||||
type="warning"
|
||||
show-icon
|
||||
:closable="false"
|
||||
title="新增出售机器必须在 M2pool 有挖矿算力记录才能添加出租"
|
||||
description="建议稳定在 M2pool 矿池挖矿 24 小时之后,再添加出售该机器"
|
||||
title="新增商品必须在 M2pool 有挖矿算力记录才能添加出租"
|
||||
description="建议稳定在 M2pool 矿池挖矿 24 小时之后,再创建该商品"
|
||||
/> -->
|
||||
|
||||
<el-card shadow="never" class="form-card">
|
||||
@@ -236,7 +236,7 @@
|
||||
<div v-if="form.machineCategory === 'ASIC'" class="actions">
|
||||
<el-button @click="handleBack">取消</el-button>
|
||||
<el-button type="primary" :loading="saving" @click="handleSave"
|
||||
>确认添加</el-button
|
||||
>确认创建</el-button
|
||||
>
|
||||
</div>
|
||||
|
||||
@@ -1531,7 +1531,7 @@ export default {
|
||||
const res = await addAsicMachine(payload);
|
||||
if (res && (res.code === 0 || res.code === 200)) {
|
||||
this.$message({
|
||||
message: "添加成功",
|
||||
message: "创建成功",
|
||||
duration: 3000,
|
||||
showClose: true,
|
||||
type: "success",
|
||||
@@ -1540,8 +1540,8 @@ export default {
|
||||
this.$router.push("/account/products");
|
||||
}
|
||||
} catch (e) {
|
||||
console.error("添加出售机器失败", e);
|
||||
console.log("添加失败");
|
||||
console.error("创建商品失败", e);
|
||||
console.log("创建失败");
|
||||
} finally {
|
||||
this.saving = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user