From ec9047869bd2642821d1dfc5bbd339313d910d66 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期一, 06 七月 2026 18:14:11 +0800
Subject: [PATCH] 新增功能
---
admin/src/views/business/tiktokConfiguration.vue | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/admin/src/views/business/tiktokConfiguration.vue b/admin/src/views/business/tiktokConfiguration.vue
index db83ed7..ad29cdf 100644
--- a/admin/src/views/business/tiktokConfiguration.vue
+++ b/admin/src/views/business/tiktokConfiguration.vue
@@ -32,7 +32,11 @@
<el-form ref="storeForm" :model="storeForm" label-width="100px" class="config-form">
<el-form-item label="闂ㄥ簵鍚嶇О">
<el-select v-model="storeForm.poiId" placeholder="璇风偣鍑诲彸渚ф煡璇㈡寜閽幏鍙栭棬搴椾俊鎭�" style="width: 400px;">
- <el-option v-for="item in storeList" :key="item" :label="item" :value="item"></el-option>
+ <el-option
+ v-for="item in storeList"
+ :key="item.poiId"
+ :label="item.poiName"
+ :value="item.poiId" />
</el-select>
<el-button @click="queryStore" style="margin-left: 10px;">鏌ヨ闂ㄥ簵</el-button>
</el-form-item>
@@ -74,6 +78,9 @@
this.form.accountId = res.accountId || ''
this.storeForm.poiId = res.poiId || ''
}
+ if (this.form.appkey && this.form.secret && this.form.accountId) {
+ this.queryStore()
+ }
}).catch(e => {
this.$tip.apiFailed(e)
})
@@ -88,6 +95,7 @@
clientKey: this.form.appkey,
clientSecret: this.form.secret
}).then(() => {
+ this.queryStore()
this.$message.success('淇濆瓨鎴愬姛')
}).catch(e => {
this.$tip.apiFailed(e)
--
Gitblit v1.9.3