更新
This commit is contained in:
@@ -28,7 +28,7 @@ import { DualAxes } from '@antv/g2plot'
|
||||
|
||||
export default {
|
||||
name: "AiProductDetail",
|
||||
props: ['params'],
|
||||
props: ['params', 'url'],
|
||||
components: {
|
||||
AiProductDropDown
|
||||
},
|
||||
@@ -47,7 +47,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
init() {
|
||||
this.$http.post('/api/monitorDetail/queryProductDetail',null,{
|
||||
this.$http.post(this.url ? this.url: '/api/monitorDetail/queryProductDetail',null,{
|
||||
params: {
|
||||
goodsId: this.params.goodsId,
|
||||
monitorId: this.params.monitorId
|
||||
|
||||
Reference in New Issue
Block a user