摘要:
npm install --save @babel/preset-env core-js regenerator-runtime 安装babel,用上面的指令 在umi4的配置文件.umirc.ts中,添加babel配置 extraBabelPresets: [ [ '@babel/preset-e 阅读全文
摘要:
先看效果 我修改了ToggleButton的ControlTemplate,在ContentPresenter外面加了4个Border,控制4个Border的位置在ControlTemplate的左上、右上、左下、右下,选中时,触发4个边框的BorderThickness <Setter Prope 阅读全文
摘要:
在.umirc.ts中增加配置 import { defineConfig } from "umi"; import HtmlWebpackPlugin from 'html-webpack-plugin'; export default defineConfig({ styles: [ { con 阅读全文
摘要:
先看效果 <Style TargetType="{x:Type ToggleButton}"> <Setter Property="Background" Value="Transparent"/> <Setter Property="BorderBrush" Value="DarkGray"/> 阅读全文
摘要:
dav 编译报错 v8内存溢出 FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory 到node_modules中/.bin/roadhog.cmd把最后一句改成 endLocal & go 阅读全文
摘要:
yield put({ type: "getPRDPPBOMHeaderList", payload: { value } }); yield take(['getPRDPPBOMHeaderList/@@end']); 或 yield put.resolve({ type: "getPRDPPBO 阅读全文
摘要:
项目中用到了MaterialDesignTheme,他只有两种主题,light和dark。 查看源码,将他dark主题copy到我们项目中 <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presenta 阅读全文
摘要:
<a-table ref="table" :columns="columns" :rowKey="row => row.Id" :dataSource="data" :pagination="pagination" :loading="loading" @change="handleTableCha 阅读全文
摘要:
<a-form-model-item label="物料" prop="MaterialId"> <a-select v-model="entity.MaterialId" allowClear @select="onMaterialChanged"> <a-select-option v-for= 阅读全文
摘要:
修改nginx.conf listen 8089; server_name localhost; #charset koi8-r; #access_log logs/host.access.log main; location / { root vuetest\dist; index index.h 阅读全文