文 件上传
This commit is contained in:
@@ -9,14 +9,14 @@
|
||||
<el-dropdown-item v-if="isShowAddFavorite" :command="beforeAddFavorite(params.goodsId, params.monitorId)">加入收藏</el-dropdown-item>
|
||||
<el-dropdown-item v-if="isShowDelFavorite" :command="beforeDelFavorite(params.id)">取消收藏</el-dropdown-item>
|
||||
<el-dropdown-item divided v-if="isShowGroup" :command="beforeAddGroup(params.goodsId)">加入分组</el-dropdown-item>
|
||||
<el-dropdown-item divided :command="beforeCopy(params.url)">商品采集</el-dropdown-item>
|
||||
<el-dropdown-item divided v-if="!isHideCopy" :command="beforeCopy(params.url)">商品采集</el-dropdown-item>
|
||||
<el-dropdown-item divided :command="beforeGoWeb(params.url)">访问商品</el-dropdown-item>
|
||||
<el-dropdown-item :command="beforeGoMal(params.mallId)">访问店铺</el-dropdown-item>
|
||||
</el-dropdown-menu>
|
||||
</el-dropdown>
|
||||
|
||||
<ai-dialog
|
||||
title="复制"
|
||||
title="商品采集"
|
||||
:visible.sync="copyFromDlgShow"
|
||||
:close-on-click-modal="false"
|
||||
width="790px"
|
||||
@@ -60,7 +60,7 @@ import { Message } from 'element-ui'
|
||||
export default {
|
||||
name: "AiProductDropDown",
|
||||
components: {AiCopyFromTemu},
|
||||
props: ['params', 'isShowDetail', 'isShowAddFavorite', 'isShowDelFavorite', 'isShowGroup'],
|
||||
props: ['params', 'source', 'isShowDetail', 'isShowAddFavorite', 'isShowDelFavorite', 'isShowGroup', 'isHideCopy'],
|
||||
data() {
|
||||
return {
|
||||
info: {},
|
||||
@@ -111,7 +111,11 @@ export default {
|
||||
}
|
||||
})
|
||||
} else if (e.type == 'goMall') {
|
||||
window.open('https://www.temu.com/mall.html?mall_id=' + e.mallId, '_blank');
|
||||
if (e.mallId.startsWith('http')) {
|
||||
window.open(e.mallId, '_blank');
|
||||
} else {
|
||||
window.open('https://www.temu.com/mall.html?mall_id=' + e.mallId, '_blank');
|
||||
}
|
||||
} else if (e.type == 'goWeb') {
|
||||
if (e.url.startsWith('http')) {
|
||||
window.open(e.url, '_blank');
|
||||
|
||||
Reference in New Issue
Block a user