Commit b5b3d2fc by 杨明

fixed

1 parent 90b8efd9
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn * @Author: yangming yangming@didihu.com.cn
* @Date: 2023-05-16 17:13:33 * @Date: 2023-05-16 17:13:33
* @LastEditors: yangming yangming@didihu.com.cn * @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-07-09 11:19:44 * @LastEditTime: 2023-07-09 13:08:01
* @FilePath: \scrm-micro-home\src\store\modules\marketing.js * @FilePath: \scrm-micro-home\src\store\modules\marketing.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/ */
...@@ -13,7 +13,7 @@ const subscribeData = { 5: '保险', 2: '定保', 9: '售后众筹' } ...@@ -13,7 +13,7 @@ const subscribeData = { 5: '保险', 2: '定保', 9: '售后众筹' }
export default { export default {
namespaced: true, namespaced: true,
state: { state: {
subscribe: 5, subscribe: null,
keywords: null, keywords: null,
GPTList: null, GPTList: null,
packageList: {}, packageList: {},
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<div class="choseRow"> <div class="choseRow">
<div class="choseItem" :class="{ active: currentIndex == item.type }" v-for="(item, index) in tabList" :key="index" @click="tabClick(item.type)">{{ item.label }}</div> <div class="choseItem" :class="{ active: currentIndex == item.type }" v-for="(item, index) in tabList" :key="index" @click="tabClick(item.type)">{{ item.label }}</div>
</div> </div>
<div class="fes-box"> <div class="fes-box" v-if="currentIndex == 6">
<div class="fes-item" v-for="item in festivalList" :key="item.id">{{ item.title }}</div> <div class="fes-item" v-for="item in festivalList" :key="item.id">{{ item.title }}</div>
<div class="fes-waiting">不断更新中……</div> <div class="fes-waiting">不断更新中……</div>
</div> </div>
...@@ -81,7 +81,7 @@ export default { ...@@ -81,7 +81,7 @@ export default {
if (this.routeInfo.addOrEdit == 'edit') { if (this.routeInfo.addOrEdit == 'edit') {
this.getInfo() this.getInfo()
} else { } else {
this.setSubscribe(this.routeInfo.subscribe) this.setSubscribe(this.routeInfo.subscribe ? this.routeInfo.subscribe : this.currentIndex)
} }
}, },
computed: { computed: {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!