|
@@ -452,6 +452,12 @@ export default {
|
|
|
|
|
|
//添加文本
|
|
|
addText() {
|
|
|
+ // 获取当前选中的tableName
|
|
|
+ const currentTableName = this.datas.tableName;
|
|
|
+ console.log(currentTableName);
|
|
|
+ // 调用接口获取字段列表
|
|
|
+ this.getFieldOptions(currentTableName);
|
|
|
+
|
|
|
console.log(this.datas);
|
|
|
if (!this.datas.tableName) {
|
|
|
this.$message.error("请先选择数据库表");
|