Prechádzať zdrojové kódy

BUG:树型控件v-model的地方语法有识,没有成功提交数据

yzp 2 rokov pred
rodič
commit
f982183cfb

+ 2 - 2
Admin.NET/Admin.NET.Web.Entry/wwwroot/Template/editDialog.vue.vm

@@ -1,4 +1,4 @@
-@{Dictionary<string, int> definedObjects = new Dictionary<string, int>();}
+@{Dictionary<string, int> definedObjects = new Dictionary<string, int>();}
 <template>
 	<div class="@(@Model.LowerClassName)-container">
 		<el-dialog v-model="isShowDialog" :title="props.title" :width="800" draggable="">
@@ -31,7 +31,7 @@
 								placeholder="请选择@(column.ColumnComment)"
 								clearable=""
 								class="w100"
-								@:v-model="ruleForm.@(column.LowerColumnName)"
+								v-model="ruleForm.@(@column.LowerColumnName)"
 							>
 								<template #default="{ node, data }">
 									<span>{{ data.name }}</span>