Commit c985cacc by 李伟康

提交

1 parent 0903eec9
......@@ -134,8 +134,9 @@ export default {
},
/**话术组 */
async getChatGroupList () {
const res = await marketingApi.getChatGroupList() || []
console.log(res)
let res = await marketingApi.getChatGroupList() || [],
maxLength = 10
if (res.length > maxLength) res = res.splice(0, maxLength)
this.groupList = ['全部', ...res]
},
/**话术 */
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!