-
-
+
+
+
+
@@ -18,6 +19,14 @@ export default {
pageSize: 20
}
};
+ },
+ methods: {
+ getTableList() {
+ const tempForm = this.$refs.SearchForm.searchForm;
+ const params = { ...this.searchForm, ...tempForm };
+ console.log(params);
+ // api.list(params)
+ }
}
};
diff --git a/vue.config.js b/vue.config.js
index 32fcc1a..37dd7fa 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -35,7 +35,7 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
- target: `http://192.168.2.39:8086`,
+ target: `http://192.168.1.114:8086`,
// target: `http://vue.ruoyi.vip/prod-api/`,
changeOrigin: true,
pathRewrite: {
@@ -105,10 +105,12 @@ module.exports = {
config
.plugin('ScriptExtHtmlWebpackPlugin')
.after('html')
- .use('script-ext-html-webpack-plugin', [{
- // `runtime` must same as runtimeChunk name. default is `runtime`
- inline: /runtime\..*\.js$/
- }])
+ .use('script-ext-html-webpack-plugin', [
+ {
+ // `runtime` must same as runtimeChunk name. default is `runtime`
+ inline: /runtime\..*\.js$/
+ }
+ ])
.end();
config.optimization.splitChunks({
chunks: 'all',
--
2.38.1.windows.1