From 4161b991dc09760ea8ed92ba840099f4102dc5e2 Mon Sep 17 00:00:00 2001
From: qianxj2004 <qianxj15@sina.com>
Date: 星期三, 22 十月 2025 16:53:14 +0800
Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/mis-prj
---
jrj/project/business/BasicCode/QuickCode.cpp | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/jrj/project/business/BasicCode/QuickCode.cpp b/jrj/project/business/BasicCode/QuickCode.cpp
index 8fc01e6..1f8a5e1 100644
--- a/jrj/project/business/BasicCode/QuickCode.cpp
+++ b/jrj/project/business/BasicCode/QuickCode.cpp
@@ -42,7 +42,8 @@
else
{
KXMLDOMElement xframeElement = GetElement();
- KXMLDOMElement agent = xframeElement.selectSingleNode(L"agent/" + xfNodeAgentArea + L"[1]/*");
+ //alert(m_configDoc.xml());
+ KXMLDOMElement agent = m_configDoc.selectSingleNode(L"Config/" + xfNodeAgentArea + L"[1]/*");
if (agent)
{
xstring s = agent.xml();
@@ -401,10 +402,10 @@
{
p += L"&";
int i = 1;
- while (p.find(L"=L", 0) > 0)
+ while (p.find(L"=", 0) > 0)
{
- xstring name = p.mid(0, p.find(L"=L", 0));
- xstring value = p.mid(p.find(L"=L", 0) + 1, p.find(L"&", 0) - p.find(L"=L", 0) - 1);
+ xstring name = p.mid(0, p.find(L"=", 0));
+ xstring value = p.mid(p.find(L"=", 0) + 1, p.find(L"&", 0) - p.find(L"=", 0) - 1);
if (name == n) return L"" + value;
i += 1;
p = p.mid(p.find(L"&", 0) + 1, p.length());
@@ -439,6 +440,7 @@
}
int loaded()
{
+
getURLParam();
KXMLDOMDocument ee = m_configDoc;
xstring id = m_id;
@@ -584,6 +586,7 @@
}
int onload()
{
+
SetArg();
m_config = L"QuickCode.config";
m_agent = L"";
--
Gitblit v1.9.3