From 4b4f964d1e4cefb2cf3c79665e381c8b7ddc39ac Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Tue, 15 Jul 2025 18:36:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=88=9B=E5=BB=BA=E6=9D=A5?= =?UTF-8?q?=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/flow/create.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/views/flow/create.vue b/src/views/flow/create.vue index 74d53b1..f8bc89c 100644 --- a/src/views/flow/create.vue +++ b/src/views/flow/create.vue @@ -284,6 +284,7 @@ export default { // 处理url中default_json handleDefaultJSON() { console.log("123") + this.form['form_canal'] = 'oa' try { if(!this.$route.query?.default_json) return const res = JSON.parse(this.$route.query?.default_json) @@ -294,6 +295,9 @@ export default { if(/^borrow_id/.test(key)) { this.form[key] = this.$route.query[key] } + if(/^form_canal/.test(key)){ + this.form[key] = this.$route.query[key] + } } for (let key in res) { try { @@ -301,6 +305,7 @@ export default { if (this.form.hasOwnProperty(key)) { this.form[key] = jsonObj; } + } catch (err) { if (this.form.hasOwnProperty(key)) { this.form[key] = res[key];