@gary-yez/go-admin-web 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -151,10 +151,10 @@
|
|
|
151
151
|
<el-table-column label="索引类型" :width="130">
|
|
152
152
|
<template #default="{ row,$index }">
|
|
153
153
|
<el-form-item :prop="`${row.id < 0 ? 'builtin_fields' : 'fields'}.${row.id < 0 ? $index : $index - 3}.index_type`">
|
|
154
|
-
<el-select :disabled="row.id < 0" v-model="row.index_type" placeholder="
|
|
155
|
-
<el-option label="
|
|
156
|
-
<el-option label="
|
|
157
|
-
<el-option label="
|
|
154
|
+
<el-select :disabled="row.id < 0" v-model="row.index_type" placeholder="无索引" clearable>
|
|
155
|
+
<el-option label="普通索引" value="index"></el-option>
|
|
156
|
+
<el-option label="唯一索引" value="uniqueIndex"></el-option>
|
|
157
|
+
<el-option v-if="row.index_type === 'unique'" label="唯一约束" value="unique"></el-option>
|
|
158
158
|
</el-select>
|
|
159
159
|
</el-form-item>
|
|
160
160
|
</template>
|