diff --git a/main/.env.production b/main/.env.production index 5aa3ea1..8bc7168 100644 --- a/main/.env.production +++ b/main/.env.production @@ -4,6 +4,7 @@ VITE_APP_TITLE = '数字农业产业管理平台' VITE_APP_SUB_OS = '//192.168.18.99:88/sub-operation-service/' VITE_APP_SUB_ADMIN = '//192.168.18.99:88/sub-admin/' VITE_APP_SUB_GAS = '//192.168.18.99:88/sub-government-affairs-service/' +VITE_APP_SUB_GSS = '//192.168.18.99:88/sub-government-screen-service/' # 接口 VITE_APP_BASE_API = '/apis' VITE_APP_BASE_URL = '' diff --git a/main/.env.test b/main/.env.test index be802d2..5b7db1a 100644 --- a/main/.env.test +++ b/main/.env.test @@ -4,8 +4,9 @@ VITE_APP_TITLE = '数字农业产业管理平台' VITE_APP_SUB_OS = '//localhost:8090/sub-operation-service/' VITE_APP_SUB_ADMIN = '//localhost:8090/sub-admin/' VITE_APP_SUB_GAS = '//localhost:8090/sub-government-affairs-service/' +VITE_APP_SUB_GSS = '//localhost:8090/sub-government-screen-service/' # 接口 VITE_APP_BASE_API = '/apis' VITE_APP_BASE_URL = '' VITE_APP_UPLOAD_API = '/uploadApis' -VITE_APP_UPLOAD_URL = '' \ No newline at end of file +VITE_APP_UPLOAD_URL = '' diff --git a/main/src/apis/common/index.js b/main/src/apis/common/index.js new file mode 100644 index 0000000..1890406 --- /dev/null +++ b/main/src/apis/common/index.js @@ -0,0 +1,15 @@ +import request from '@/utils/axios'; + +/** + * @Title: 上传图片 + */ +export function CommonUpload(data, params) { + return request({ + url: `/upload`, + method: 'POST', + apisType: 'upload', + uploadType: 'multipart/form-data', + data, + params, + }); +} diff --git a/main/src/components/custom-iframe/index.vue b/main/src/components/custom-iframe/index.vue new file mode 100644 index 0000000..858fcd3 --- /dev/null +++ b/main/src/components/custom-iframe/index.vue @@ -0,0 +1,39 @@ + + + diff --git a/main/src/components/custom-rich-editor/index.vue b/main/src/components/custom-rich-editor/index.vue index 1e4bad9..6cca864 100644 --- a/main/src/components/custom-rich-editor/index.vue +++ b/main/src/components/custom-rich-editor/index.vue @@ -7,7 +7,7 @@ -->