You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zhishifufei_php/public/pc/components/base-agree/index.js

25 lines
534 B

10 months ago
define([
'store/index',
'text!./index.html',
'css!./index.css'
], function(store, html) {
return {
props: {
agreeContent: {
type: Object,
default: function () {
return {};
}
}
},
data: function () {
return store.state;
},
methods: {
agreeClose: function () {
store.setAgreeAction(false);
}
},
template: html
};
});