diff --git a/project.config.json b/project.config.json index b18837a..d2430d2 100644 --- a/project.config.json +++ b/project.config.json @@ -7,7 +7,6 @@ "postcss": true, "preloadBackgroundData": false, "ignoreDevUnusedFiles": false, - "ignoreUploadUnusedFiles": false, "minified": true, "newFeature": false, "coverView": true, @@ -28,7 +27,6 @@ "outputPath": "" }, "enableEngineNative": false, - "useIsolateContext": true, "userConfirmedBundleSwitch": false, "packNpmManually": true, "packNpmRelationList": [ @@ -39,7 +37,10 @@ ], "minifyWXSS": true, "showES6CompileOption": false, - "condition": false + "condition": false, + "compileWorklet": false, + "ignoreUploadUnusedFiles": false, + "useIsolateContext": true }, "condition": {}, "editorSetting": { diff --git a/service/invoice.js b/service/invoice.js index ff088e2..497ef93 100644 --- a/service/invoice.js +++ b/service/invoice.js @@ -23,7 +23,8 @@ export const deleteInvoiceInfo = async function(id) { // 获取可开发票列表 export const getInvoiceList = async function() { - return await GET(`/wx/getInvoiceList`); + const tenement = wx.getStorageSync('tenement'); + return await GET(`/wx/getInvoiceList?tenement=${tenement?.id}`); } // 获取创建的发开票信息详情