Commit d439bf80 authored by 刘殿昕's avatar 刘殿昕

云资源unique-code

parent 3816700c
...@@ -90,7 +90,7 @@ export default { ...@@ -90,7 +90,7 @@ export default {
}, },
unique: { unique: {
type: Boolean, type: Boolean,
default: false, default: true,
}, },
}, },
watch: { watch: {
...@@ -112,7 +112,7 @@ export default { ...@@ -112,7 +112,7 @@ export default {
if (this.directory) { if (this.directory) {
this.anotherData = { this.anotherData = {
directory: this.directory, directory: this.directory,
"unique-code": this.unique ? "" : false, "unique-code": this.unique ? "" : "false",
}; };
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment