Merge branch '0.3.0' of https://github.com/alibaba/nacos into 0.3.0

This commit is contained in:
zhichen 2018-10-26 18:57:08 +08:00
commit b97d0b4b69
2 changed files with 19 additions and 0 deletions

View File

@ -115,6 +115,20 @@ class NewNameSpace extends React.Component {
});
});
}
refreshNameSpace() {
setTimeout(() => {
window.request({
type: 'get',
url: `/nacos/v1/console/namespaces`,
success: res => {
if (res.code === 200) {
window.namespaceList = res.data;
}
}
});
}, 2000);
}
validateChart(rule, value, callback) {
const chartReg = /[@#\$%\^&\*]+/g;

View File

@ -52,5 +52,10 @@
<groupId>com.alibaba.nacos</groupId>
<artifactId>nacos-client</artifactId>
</dependency>
<!-- log -->
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</dependency>
</dependencies>
</project>