diff --git a/package.json b/package.json index ddbe10b..15ae878 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "variant-form", - "version": "2.2.7", + "version": "2.2.8", "private": false, "scripts": { "serve": "vue-cli-service serve --open src/main.js", diff --git a/src/components/form-designer/index.vue b/src/components/form-designer/index.vue index 2928ff4..fa79f3d 100644 --- a/src/components/form-designer/index.vue +++ b/src/components/form-designer/index.vue @@ -139,7 +139,7 @@ docUrl: 'https://www.vform666.com/document.html', gitUrl: 'https://github.com/vform666/variant-form', chatUrl: 'https://www.vform666.com/pages/chat-group/', - subScribeUrl: 'https://www.vform666.com/subscribe.html', + subScribeUrl: 'https://www.vform666.com/pages/pro/', scrollerHeight: 0, diff --git a/src/components/form-render/index.vue b/src/components/form-render/index.vue index 44742a5..aab0186 100644 --- a/src/components/form-render/index.vue +++ b/src/components/form-render/index.vue @@ -386,6 +386,10 @@ return this.$refs['renderForm'] }, + getFormRef() { + return this + }, + getWidgetRef(widgetName, showError = false) { let foundRef = this.widgetRefList[widgetName] if (!foundRef && !!showError) { diff --git a/src/utils/config.js b/src/utils/config.js index 1c8abf7..3a693d6 100644 --- a/src/utils/config.js +++ b/src/utils/config.js @@ -1,4 +1,4 @@ -export const VARIANT_FORM_VERSION = '2.2.7' +export const VARIANT_FORM_VERSION = '2.2.8' //export const MOCK_CASE_URL = 'https://www.fastmock.site/mock/2de212e0dc4b8e0885fea44ab9f2e1d0/vform/' export const MOCK_CASE_URL = 'https://ks3-cn-beijing.ksyuncs.com/vform-static/vcase/'