Commit e6b7e642 by 潘建波

init🎉

1 parent 650cce55
{"commit":"802e4887430c6a9eeddbd3ccd4fdb70bae40e684","commitDate":"2020-7-6 14:15","buildDate":"2020-7-6 16:23","version":"2.1.7","info":"🐛ocx下载提示"}
\ No newline at end of file \ No newline at end of file
{"commit":"650cce551cec50bef5d7b6deed8d5677f6015c32","commitDate":"2020-7-6 16:28","buildDate":"2020-7-6 16:30","version":"2.0.4","info":"增加打包版本信息"}
\ No newline at end of file \ No newline at end of file
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
> >
</el-form-item> </el-form-item>
</el-form> </el-form>
<div class="syversion">版本:v2.0.3</div> <div class="syversion">版本:v{{versioninfo.version}}</div>
</div> </div>
</div> </div>
</div> </div>
...@@ -57,6 +57,7 @@ ...@@ -57,6 +57,7 @@
<script> <script>
let particlesConfig = require("../assets/js/particles.json"); let particlesConfig = require("../assets/js/particles.json");
let sha1 = require("js-sha1"); let sha1 = require("js-sha1");
let versioninfo = require("../../public/js/version");
import types from "../store/types.js"; import types from "../store/types.js";
export default { export default {
name: "Login", name: "Login",
...@@ -83,6 +84,7 @@ export default { ...@@ -83,6 +84,7 @@ export default {
username: "", username: "",
password: "" password: ""
}, },
versioninfo: versioninfo,
rules: { rules: {
password: [{ validator: validatePass, trigger: "change" }], password: [{ validator: validatePass, trigger: "change" }],
username: [{ validator: validateUser, trigger: "change" }] username: [{ validator: validateUser, trigger: "change" }]
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!