feat: debug
This commit is contained in:
@@ -527,11 +527,14 @@ const handleSelectChange = value => {
|
|||||||
drawerProps.value.row.t_cfg = matchedTemplate.t_cfg_template;
|
drawerProps.value.row.t_cfg = matchedTemplate.t_cfg_template;
|
||||||
};
|
};
|
||||||
const handleSelectChangeUrl = value => {
|
const handleSelectChangeUrl = value => {
|
||||||
|
console.log(value);
|
||||||
var strKey = "模板";
|
var strKey = "模板";
|
||||||
var temp = drawerProps.value.row.t_cfg;
|
var temp = drawerProps.value.row.t_cfg;
|
||||||
for (const key in temp) {
|
for (const key in temp) {
|
||||||
if (key.includes("_URL") && key != "PC_URL_PATH") {
|
// && key != "PC_URL_PATH"
|
||||||
|
if (key.includes("_URL")) {
|
||||||
var newKey = temp[key].description.replace(/模板(\d+)/g, `模板${value}`);
|
var newKey = temp[key].description.replace(/模板(\d+)/g, `模板${value}`);
|
||||||
|
console.log(newKey);
|
||||||
subjectFomartGroup.value.forEach(item => {
|
subjectFomartGroup.value.forEach(item => {
|
||||||
if (item.sfg_description === newKey) {
|
if (item.sfg_description === newKey) {
|
||||||
temp[key].sfg_id = item.sfg_id;
|
temp[key].sfg_id = item.sfg_id;
|
||||||
|
|||||||
Reference in New Issue
Block a user