refactor(matrix): 优化矩阵题添加行选项逻辑并调整问卷投放状态显示
- 移除 MatrixQuestion 中不必要的 ID 字段 - 调整 MatrixQuestion 中 option_index 的初始值 - 优化 Design/Index.vue 中 addMatrixRowOption 方法的实现 - 修改 Survey/Index.vue 中问卷投放状态的显示文本
This commit is contained in:
@@ -79,7 +79,7 @@
|
||||
</el-button>
|
||||
<el-button color="#6fb937" :disabled="item.source === 0" @click="toPublish(item)">
|
||||
<el-text style="color: white">
|
||||
{{ item.status === 1 ? '取消投放' : '开启投放' }}
|
||||
{{ item.status === 1 ? '结束投放' : '开启投放' }}
|
||||
</el-text>
|
||||
</el-button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user