| | |
| | | const cssLoader = { |
| | | loader: 'css-loader', |
| | | options: { |
| | | sourceMap: options.sourceMap |
| | | sourceMap: options.sourceMap, |
| | | |
| | | } |
| | | } |
| | | const px2remLoader = { |
| | | loader: 'px2rem-loader', |
| | | options: { |
| | | remUnit: 54, |
| | | minimize:true |
| | | } |
| | | } |
| | | |
| | |
| | | }), |
| | | // Compress extracted CSS. We are using this plugin so that possible |
| | | // duplicated CSS from different components can be deduped. |
| | | new OptimizeCSSPlugin({ |
| | | cssProcessorOptions: config.build.productionSourceMap |
| | | ? { safe: true, map: { inline: false } } |
| | | : { safe: true } |
| | | }), |
| | | // new OptimizeCSSPlugin({ |
| | | // cssProcessorOptions: config.build.productionSourceMap |
| | | // ? { safe: true, map: { inline: false } } |
| | | // : { safe: true } |
| | | // }), |
| | | // generate dist index.html with correct asset hash for caching. |
| | | // you can customize output by editing /index.html |
| | | // see https://github.com/ampedandwired/html-webpack-plugin |
| | |
| | | .then(() => { |
| | | this.toRegister(); |
| | | }) |
| | | .catch(() => {}); |
| | | // .catch(() => {}); |
| | | }, |
| | | goToSettings() { |
| | | if (this.userInfo.length === 0) { |
| | |
| | | cancelButtonText: this.$t("hj106") |
| | | }) |
| | | .then(async () => {}) |
| | | .catch(() => {}); |
| | | // .catch(() => {}); |
| | | }, |
| | | onSelect(e) { |
| | | this.$i18n.locale = e.lang; |
| | |
| | | } else { |
| | | Toast(data.msg) |
| | | } |
| | | }).catch(() => { |
| | | }) |
| | | // .catch(() => { |
| | | |
| | | }); |
| | | // }); |
| | | }, |
| | | async getUserNewGuList() { |
| | | let data = await api.buyStockDzList(); |
| | |
| | | } |
| | | // 认购成功 |
| | | }) |
| | | .catch(() => { |
| | | // .catch(() => { |
| | | // on cancel |
| | | }); |
| | | // }); |
| | | }, |
| | | fromDatavalue(e) { |
| | | this.fromData.value = e.target.value; |
| | |
| | | .then(() => { |
| | | this.toRegister(); |
| | | }) |
| | | .catch(() => {}); |
| | | // .catch(() => {}); |
| | | }, |
| | | goToSettings() { |
| | | // 每次打开dialog 清空密码数据 |