在config目錄下的index.js文件裏面
給他配置這些
proxyTable: {
"/api": { //這個/api代表的就是前綴
target: 'https://api.douban.com', //這個是前綴接口
changeOrigin: true, //是否允許跨域
pathRewrite: {
'^/api': '/'
}
}
},
在config目錄下的index.js文件裏面
給他配置這些
proxyTable: {
"/api": { //這個/api代表的就是前綴
target: 'https://api.douban.com', //這個是前綴接口
changeOrigin: true, //是否允許跨域
pathRewrite: {
'^/api': '/'
}
}
},
代碼: public class PropertiesControl : Grid { [TypeConverter(typeof(LengthConverter))] public d