HolyKnightIX 9 月之前
父節點
當前提交
1a4c00aa1f
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. +3
    -3
      example/page/designer.vue

+ 3
- 3
example/page/designer.vue 查看文件

@@ -58,8 +58,8 @@ export default {
});
},

getWidgets(type) {
const url = baseUrl + `/print/printDatas?type=${type}`
getWidgets(type, tenantId) {
const url = baseUrl + `/print/printDatas?type=${type}&tenantId=${tenantId}`
this.$axios.get(url)
.then(res => {
console.log(res, 'res')
@@ -88,7 +88,7 @@ export default {
if (!this.value.tempItems || !this.value.tempItems.length) {
this.value.tempItems = []
}
this.getWidgets(this.value.type)
this.getWidgets(this.value.type, tenantId)
})
.catch(err => {
console.error(err);


Loading…
取消
儲存