| | |
| | | |
| | | <script> |
| | | import { testDBCompare } from "./api"; |
| | | import { getSyncTables } from "@/api/baseLibrary" |
| | | import { getSyncTables, getLocalTables } from "@/api/baseLibrary" |
| | | |
| | | export default { |
| | | data() { |
| | | return { |
| | | tables: "", |
| | | tables: [], |
| | | tagTable: "", |
| | | cmpData: [] |
| | | |
| | |
| | | getDBTables() { |
| | | getSyncTables().then(rsp => { |
| | | if (rsp && rsp.success) { |
| | | this.tables = rsp.data.datalist |
| | | this.tables = this.tables.concat(rsp.data.datalist) |
| | | } |
| | | }) |
| | | |
| | | getLocalTables().then(rsp => { |
| | | if (rsp && rsp.success) { |
| | | this.tables = this.tables.concat(rsp.data.datalist) |
| | | } |
| | | }) |
| | | }, |