diff --git a/src/api/tool/gen.js b/src/api/tool/gen.js
index 2577499..3a412ac 100644
--- a/src/api/tool/gen.js
+++ b/src/api/tool/gen.js
@@ -69,17 +69,9 @@ export function genCode(tableName) {
}
// 同步数据库
-export function synchDb(tableName,databaseName) {
+export function synchDb(tableName) {
return request({
- url: '/code/gen/synchDb/' + tableName + '/' + databaseName,
- method: 'get'
- })
-}
-
-// 查询db数据库
-export function getDataBaseList() {
- return request({
- url: '/code/gen/db/getDataBaseList',
+ url: '/code/gen/synchDb/' + tableName,
method: 'get'
})
}
diff --git a/src/views/product/attribute/index.vue b/src/views/product/attribute/index.vue
index 79623c4..d1b259f 100644
--- a/src/views/product/attribute/index.vue
+++ b/src/views/product/attribute/index.vue
@@ -9,23 +9,6 @@
@keyup.enter.native="handleQuery"
/>
-
-
-
-
-
-
-
-
搜索
重置
@@ -80,15 +63,9 @@
-
+
-
-
-
- {{ parseTime(scope.row.updatedTime, '{y}-{m}-{d}') }}
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-